[oe-commits] Khem Raj : sudo: Disable hardening for musl
git at git.openembedded.org
git at git.openembedded.org
Mon Apr 13 21:34:44 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: a583f81d9bc6ae984699d9aba7a53019ff0afc23
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a583f81d9bc6ae984699d9aba7a53019ff0afc23
Author: Khem Raj <raj.khem at gmail.com>
Date: Fri Apr 10 18:20:44 2015 -0700
sudo: Disable hardening for musl
musl does not yet enable ssp
Change-Id: If40ab0a54b17d5528676b1268182b6c7e7ef5761
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-extended/sudo/sudo.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
index 2d411f3..cdee6bb 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -22,6 +22,8 @@ CONFFILES_${PN} = "${sysconfdir}/sudoers"
EXTRA_OECONF = "--with-editor=/bin/vi --with-env-editor"
+EXTRA_OECONF_append_libc-musl = " --disable-hardening "
+
# mksigname/mksiglist are used on build host to generate source files
do_compile_prepend () {
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
More information about the Openembedded-commits
mailing list