[oe-commits] Robert Yang : lz4: fix CC
git at git.openembedded.org
git at git.openembedded.org
Mon Feb 24 11:51:41 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: 5eb0f6e03e5a543f7bad6fcf0cab4173cc8882d8
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5eb0f6e03e5a543f7bad6fcf0cab4173cc8882d8
Author: Robert Yang <liezhi.yang at windriver.com>
Date: Mon Feb 24 04:35:55 2014 -0500
lz4: fix CC
It defined the CC to ${TARGET_PREFIX}gcc which lost the --sysroot and was
incorrect, it would cause unexpected errors, we should define it as CC=${CC}.
[YOCTO #5869]
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-support/lz4/lz4_svn.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-support/lz4/lz4_svn.bb b/meta/recipes-support/lz4/lz4_svn.bb
index a760313..38e36d8 100644
--- a/meta/recipes-support/lz4/lz4_svn.bb
+++ b/meta/recipes-support/lz4/lz4_svn.bb
@@ -12,7 +12,7 @@ SRC_URI = "svn://lz4.googlecode.com/svn/;module=trunk;protocol=http"
S = "${WORKDIR}/trunk"
-EXTRA_OEMAKE = "PREFIX=${prefix} CC=${TARGET_PREFIX}gcc DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}"
+EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}"
do_install() {
oe_runmake install
More information about the Openembedded-commits
mailing list