diff options
author | Kai Kang <kai.kang@windriver.com> | 2013-08-07 17:30:13 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2013-08-09 07:55:10 -0700 |
commit | 4f1fcdbea1629ebf506fb0dbd5df71a588f0372b (patch) | |
tree | a90fec5801186c6e2c3fb7a79b2c63d82324a409 /meta/recipes-extended/sudo | |
parent | b296e7412a45f0c07b4f843784211ef0f66221e6 (diff) | |
download | openembedded-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')
-rw-r--r-- | meta/recipes-extended/sudo/sudo.inc | 2 |
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 |