aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/lz4
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:50 +0000
commit2b7edd5d15592ddda0ca91c95d7ad18f5a030a85 (patch)
tree62217a0db74a891d26e49816bc50de9d7c089602 /meta/recipes-support/lz4
parent6a708c3edb5da3d73730eaf21d8c6c4f79972e9d (diff)
downloadopenembedded-core-contrib-2b7edd5d15592ddda0ca91c95d7ad18f5a030a85.tar.gz
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] (From OE-Core rev: 5eb0f6e03e5a543f7bad6fcf0cab4173cc8882d8) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/lz4')
-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