[oe-commits] [meta-openembedded] 22/26: efivar: make CC_FOR_BUILD value complete
git at git.openembedded.org
git at git.openembedded.org
Fri Sep 28 06:18:47 UTC 2018
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master
in repository meta-openembedded.
commit ee71404eb2c62c4ec4c682e2f8f583cde4aa7386
Author: Mingli Yu <Mingli.Yu at windriver.com>
AuthorDate: Thu Sep 27 15:20:26 2018 +0800
efivar: make CC_FOR_BUILD value complete
Update CC_FOR_BUILD=${BUILD_CC} to
CC_FOR_BUILD="${BUILD_CC}" to guarantee
the BUILD_CC value passed to CC_FOR_BUILD
completely to avoid below build failure
when ccache enabled:
| NOTE: make -j 48 -C src makeguids CC_FOR_BUILD=ccache gcc
| make: Entering directory '/mybuild/tmp-glibc/work/x86_64-linux/efivar-native/0.36-r0/git/src'
| ccache -isystem/mybuild/tmp-glibc/work/x86_64-linux/efivar-native/0.36-r0/recipe-sysroot-native/usr/include -O2 -pipe ... -DEFIVAR_BUILD_ENVIRONMENT -o makeguids makeguids.c guid.c -ldl
| ccache: invalid option -- 'i'
Signed-off-by: Mingli Yu <Mingli.Yu at windriver.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-bsp/efivar/efivar_0.36.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-oe/recipes-bsp/efivar/efivar_0.36.bb b/meta-oe/recipes-bsp/efivar/efivar_0.36.bb
index dfb46c2..20588ee 100644
--- a/meta-oe/recipes-bsp/efivar/efivar_0.36.bb
+++ b/meta-oe/recipes-bsp/efivar/efivar_0.36.bb
@@ -29,7 +29,7 @@ do_compile_prepend() {
}
do_compile_class-native() {
- oe_runmake -C src makeguids CC_FOR_BUILD=${BUILD_CC}
+ oe_runmake -C src makeguids CC_FOR_BUILD="${BUILD_CC}"
}
do_install() {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list