diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-07-01 00:04:35 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-08 13:33:58 +0100 |
commit | 39c00c7c42fe7e555eb65ea7c01bfc9cb8a34514 (patch) | |
tree | b7846cbf78630e7f3b8e31a053bd9992f6e5df5e /meta/recipes-extended/sysklogd/sysklogd.inc | |
parent | d71eba26850838b2878efea3f8c392a2eb2ebbfb (diff) | |
download | openembedded-core-contrib-39c00c7c42fe7e555eb65ea7c01bfc9cb8a34514.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
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-extended/sysklogd/sysklogd.inc')
-rw-r--r-- | meta/recipes-extended/sysklogd/sysklogd.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/sysklogd/sysklogd.inc b/meta/recipes-extended/sysklogd/sysklogd.inc index 78b8d7a985..644728ae67 100644 --- a/meta/recipes-extended/sysklogd/sysklogd.inc +++ b/meta/recipes-extended/sysklogd/sysklogd.inc @@ -16,6 +16,8 @@ inherit update-rc.d update-alternatives systemd SRC_URI = "http://www.infodrom.org/projects/sysklogd/download/sysklogd-${PV}.tar.gz \ file://no-strip-install.patch \ file://0001-Fix-build-with-musl.patch \ + file://0001-fix-problems-that-causes-a-segmentation-fault-under-.patch \ + file://0002-Make-way-for-respecting-flags-from-environment.patch \ file://sysklogd \ file://syslog.conf \ file://syslogd.service \ @@ -32,9 +34,7 @@ SYSTEMD_AUTO_ENABLE = "enable" INITSCRIPT_NAME = "syslog" CONFFILES_${PN} = "${sysconfdir}/syslog.conf.${BPN}" -EXTRA_OEMAKE = "-e MAKEFLAGS=" - -CFLAGS_append = " -DSYSV" +CFLAGS += "-DSYSV -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" do_install () { install -d ${D}${mandir}/man8 \ |