summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/sudo/sudo.inc
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2013-08-07 17:30:13 +0800
committerSaul Wold <sgw@linux.intel.com>2013-08-09 07:55:10 -0700
commit4f1fcdbea1629ebf506fb0dbd5df71a588f0372b (patch)
treea90fec5801186c6e2c3fb7a79b2c63d82324a409 /meta/recipes-extended/sudo/sudo.inc
parentb296e7412a45f0c07b4f843784211ef0f66221e6 (diff)
downloadopenembedded-core-4f1fcdbea1629ebf506fb0dbd5df71a588f0372b.tar.gz
openembedded-core-4f1fcdbea1629ebf506fb0dbd5df71a588f0372b.tar.bz2
openembedded-core-4f1fcdbea1629ebf506fb0dbd5df71a588f0372b.zip
sudo: quote BUILD_CC
BUILD_CC is assigned to CC when do compile. If BUILD_CC has multi-items such as "ccache gcc", compilation fails with: make: *** No rule to make target `gcc'. Stop. Double quote BUILD_CC to avoid this error. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/sudo/sudo.inc')
-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 ef2367a702..e77c90176d 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -26,7 +26,7 @@ do_configure_prepend () {
# 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 compat mksigname mksiglist
+ oe_runmake SSP_CFLAGS="" SSP_LDFLAGS="" CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" CPPFLAGS="$BUILD_CPPFLAGS -I${S}/include -I${S} -I${B}" -C compat mksigname mksiglist
}
# Explicitly create ${localstatedir}/lib before do_install to ensure