diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-04-10 18:20:44 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-13 22:33:23 +0100 |
commit | 40db5c4baa5c13da7450173705922497aa4068c1 (patch) | |
tree | 27484d3bc61d9bfc025af798bf169b78fd694b6a /meta/recipes-extended/sudo/sudo.inc | |
parent | b8d9c044c277595474059cb84b7f0359b13229a6 (diff) | |
download | poky-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/recipes-extended/sudo/sudo.inc')
-rw-r--r-- | meta/recipes-extended/sudo/sudo.inc | 2 |
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 | ||
23 | EXTRA_OECONF = "--with-editor=/bin/vi --with-env-editor" | 23 | EXTRA_OECONF = "--with-editor=/bin/vi --with-env-editor" |
24 | 24 | ||
25 | EXTRA_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 |
26 | do_compile_prepend () { | 28 | do_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 |