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 <[email protected]> --- meta/recipes-extended/sudo/sudo.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.8.1.2 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
