summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sysklogd/files/0002-Make-way-for-respecting-flags-from-environment.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-07-01 00:04:35 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-08 13:34:45 +0100
commit25018c4807a431382488dcf46731c83c2e9baffb (patch)
tree1191df6c536e445b4da2edefdf675cb885b18df8 /meta/recipes-extended/sysklogd/files/0002-Make-way-for-respecting-flags-from-environment.patch
parentdc3b3a8df3297367e9386dd3ac098b64f7f46d06 (diff)
downloadpoky-25018c4807a431382488dcf46731c83c2e9baffb.tar.gz
sysklogd: Improve build and fix runtime crash
Patch the makefile so it can respect flags from environment add a patch to fix a run time crash (From OE-Core rev: 39c00c7c42fe7e555eb65ea7c01bfc9cb8a34514) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sysklogd/files/0002-Make-way-for-respecting-flags-from-environment.patch')
-rw-r--r--meta/recipes-extended/sysklogd/files/0002-Make-way-for-respecting-flags-from-environment.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-extended/sysklogd/files/0002-Make-way-for-respecting-flags-from-environment.patch b/meta/recipes-extended/sysklogd/files/0002-Make-way-for-respecting-flags-from-environment.patch
new file mode 100644
index 0000000000..ebbdef303b
--- /dev/null
+++ b/meta/recipes-extended/sysklogd/files/0002-Make-way-for-respecting-flags-from-environment.patch
@@ -0,0 +1,35 @@
1From b22f244732cd0f475af2f82fc7eecec49f90623b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 1 Jul 2017 00:01:50 -0700
4Subject: [PATCH 2/2] Make way for respecting flags from environment
5
6Upstream-Status: Pending
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 Makefile | 4 +---
11 1 file changed, 1 insertion(+), 3 deletions(-)
12
13diff --git a/Makefile b/Makefile
14index 5af1689..af699d2 100644
15--- a/Makefile
16+++ b/Makefile
17@@ -17,14 +17,12 @@
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21-CC= gcc
22 #SKFLAGS= -g -DSYSV -Wall
23 #LDFLAGS= -g
24-SKFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce
25+SKFLAGS = $(CFLAGS) $(CPPFLAGS) -DSYSV -Wall -fno-strength-reduce
26 # -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
27 # -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
28 # $(shell getconf LFS_SKFLAGS)
29-LDFLAGS= -s
30
31 # Look where your install program is.
32 INSTALL = /usr/bin/install
33--
342.13.2
35