summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2013-08-07 17:30:13 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-12 13:09:51 +0100
commit60bc7c1917f8e8c741f919db5038843086800be7 (patch)
treee351881efadc06333a623918a5bbf479c13768ca /meta
parentd1fd10e502115723d117409fb1edc32345042e9c (diff)
downloadpoky-60bc7c1917f8e8c741f919db5038843086800be7.tar.gz
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. (From OE-Core rev: 4f1fcdbea1629ebf506fb0dbd5df71a588f0372b) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 () {
26 26
27# mksigname/mksiglist are used on build host to generate source files 27# mksigname/mksiglist are used on build host to generate source files
28do_compile_prepend () { 28do_compile_prepend () {
29 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 29 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
30} 30}
31 31
32# Explicitly create ${localstatedir}/lib before do_install to ensure 32# Explicitly create ${localstatedir}/lib before do_install to ensure