]> code.ossystems Code Review - openembedded-core.git/commitdiff
sudo: quote BUILD_CC
authorKai Kang <kai.kang@windriver.com>
Wed, 7 Aug 2013 09:30:13 +0000 (17:30 +0800)
committerSaul Wold <sgw@linux.intel.com>
Fri, 9 Aug 2013 14:55:10 +0000 (07:55 -0700)
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>
meta/recipes-extended/sudo/sudo.inc

index ef2367a70253b4eeeced2e947a10d0526bc5de20..e77c90176d8ec129fb7c4bbf35b7998d895bff1c 100644 (file)
@@ -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