summaryrefslogtreecommitdiff
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:28:36 +0100
commita583f81d9bc6ae984699d9aba7a53019ff0afc23 (patch)
treed04c44ffd18d475da3dc655244fef76dd96d5d0d /meta
parent87a55935a6d5f038c5a8a4c7f2357dd972d2fa92 (diff)
downloadopenembedded-core-a583f81d9bc6ae984699d9aba7a53019ff0afc23.tar.gz
openembedded-core-a583f81d9bc6ae984699d9aba7a53019ff0afc23.tar.bz2
openembedded-core-a583f81d9bc6ae984699d9aba7a53019ff0afc23.zip
sudo: Disable hardening for musl
musl does not yet enable ssp Change-Id: If40ab0a54b17d5528676b1268182b6c7e7ef5761 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"
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