[oe-commits] Kai Kang : sudo: quote BUILD_CC

git at git.openembedded.org git at git.openembedded.org
Mon Aug 12 12:03:01 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 4f1fcdbea1629ebf506fb0dbd5df71a588f0372b
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4f1fcdbea1629ebf506fb0dbd5df71a588f0372b

Author: Kai Kang <kai.kang at windriver.com>
Date:   Wed Aug  7 17:30:13 2013 +0800

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 at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 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 ef2367a..e77c901 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



More information about the Openembedded-commits mailing list