summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sudo
diff options
context:
space:
mode:
authorTomas Frydrych <tomas@sleepfive.com>2013-04-27 09:43:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-29 15:30:27 +0100
commit9dae6e7be41294601f53adf76d1a0955b58c9cf1 (patch)
treec4ea7608d040a11cf10ea2109f1fee1b23c4d434 /meta/recipes-extended/sudo
parent556acba042b095536c5358b01b7c95b78bf9f8a9 (diff)
downloadpoky-9dae6e7be41294601f53adf76d1a0955b58c9cf1.tar.gz
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. (From OE-Core rev: ad9a9c6e6b4f00bc47449bbe8c85777ea7c89b88) Signed-off-by: Tomas Frydrych <tomas@sleepfive.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sudo')
-rw-r--r--meta/recipes-extended/sudo/sudo.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
index e778485838..35da3673e1 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -23,7 +23,7 @@ do_configure_prepend () {
23 23
24# mksigname/mksiglist are used on build host to generate source files 24# mksigname/mksiglist are used on build host to generate source files
25do_compile_prepend () { 25do_compile_prepend () {
26 oe_runmake CC=$BUILD_CC CPPFLAGS="$BUILD_CPPFLAGS -I${S}/include -I${S} -I${B}" -C compat mksigname mksiglist 26 oe_runmake SSP_CFLAGS="" SSP_LDFLAGS="" CC=$BUILD_CC CPPFLAGS="$BUILD_CPPFLAGS -I${S}/include -I${S} -I${B}" -C compat mksigname mksiglist
27} 27}
28 28
29# Explicitly create ${localstatedir}/lib before do_install to ensure 29# Explicitly create ${localstatedir}/lib before do_install to ensure