summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-02-24 04:35:55 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-24 11:57:28 +0000
commit5eb0f6e03e5a543f7bad6fcf0cab4173cc8882d8 (patch)
tree2e0ffc021b903d97739d8aa642915c43a4274be0
parentc325b1470c2e009c6b228aa0720bff05452716e4 (diff)
downloadopenembedded-core-5eb0f6e03e5a543f7bad6fcf0cab4173cc8882d8.tar.gz
openembedded-core-5eb0f6e03e5a543f7bad6fcf0cab4173cc8882d8.tar.bz2
openembedded-core-5eb0f6e03e5a543f7bad6fcf0cab4173cc8882d8.zip
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@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/lz4/lz4_svn.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/lz4/lz4_svn.bb b/meta/recipes-support/lz4/lz4_svn.bb
index a760313daf..38e36d8256 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