path: root/meta/recipes-extended/sudo
diff options
authorTomas Frydrych <>2013-04-27 09:43:38 +0100
committerRichard Purdie <>2013-04-29 15:30:25 +0100
commitad9a9c6e6b4f00bc47449bbe8c85777ea7c89b88 (patch)
treed34d91f8b38da976ee4812ace2fa85c02e31abd4 /meta/recipes-extended/sudo
parent373dc2778f263baa7958c48cc1644008e2a40676 (diff)
sudo: disable SSP for auxiliary build tools mksiglist and mksigname
The do_compile_prepend() fragment ensures that the non-installable build tools mksiglist and mksigname are built using the BUILD_CC, but if the the BUILD_CC does not support SSP and the cross compiler does, the build fails due to the SSP flags set in the Makefile. Ensuring that SSP is not enabled when building these tools prevents this from happening. Signed-off-by: Tomas Frydrych <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/recipes-extended/sudo')
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/sudo/ b/meta/recipes-extended/sudo/
index e778485838..35da3673e1 100644
--- a/meta/recipes-extended/sudo/
+++ b/meta/recipes-extended/sudo/
@@ -23,7 +23,7 @@ do_configure_prepend () {
# mksigname/mksiglist are used on build host to generate source files
do_compile_prepend () {
- oe_runmake CC=$BUILD_CC CPPFLAGS="$BUILD_CPPFLAGS -I${S}/include -I${S} -I${B}" -C compat mksigname mksiglist
+ oe_runmake SSP_CFLAGS="" SSP_LDFLAGS="" CC=$BUILD_CC CPPFLAGS="$BUILD_CPPFLAGS -I${S}/include -I${S} -I${B}" -C compat mksigname mksiglist
# Explicitly create ${localstatedir}/lib before do_install to ensure