summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-04-10 18:20:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-13 22:33:23 +0100
commit40db5c4baa5c13da7450173705922497aa4068c1 (patch)
tree27484d3bc61d9bfc025af798bf169b78fd694b6a /meta
parentb8d9c044c277595474059cb84b7f0359b13229a6 (diff)
downloadpoky-40db5c4baa5c13da7450173705922497aa4068c1.tar.gz
sudo: Disable hardening for musl
musl does not yet enable ssp Change-Id: If40ab0a54b17d5528676b1268182b6c7e7ef5761 (From OE-Core rev: a583f81d9bc6ae984699d9aba7a53019ff0afc23) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/sudo/sudo.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
index 2d411f3d89..cdee6bb85f 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -22,6 +22,8 @@ CONFFILES_${PN} = "${sysconfdir}/sudoers"
22 22
23EXTRA_OECONF = "--with-editor=/bin/vi --with-env-editor" 23EXTRA_OECONF = "--with-editor=/bin/vi --with-env-editor"
24 24
25EXTRA_OECONF_append_libc-musl = " --disable-hardening "
26
25# mksigname/mksiglist are used on build host to generate source files 27# mksigname/mksiglist are used on build host to generate source files
26do_compile_prepend () { 28do_compile_prepend () {
27 oe_runmake SSP_CFLAGS="" SSP_LDFLAGS="" CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" CPPFLAGS="$BUILD_CPPFLAGS -I${S}/include -I${S} -I${B}" -C lib/util mksigname mksiglist 29 oe_runmake SSP_CFLAGS="" SSP_LDFLAGS="" CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" CPPFLAGS="$BUILD_CPPFLAGS -I${S}/include -I${S} -I${B}" -C lib/util mksigname mksiglist