1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

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>
This commit is contained in:
Robert Yang
2014-02-24 04:35:55 -05:00
committed by Richard Purdie
parent 6a708c3edb
commit 2b7edd5d15
+1 -1
View File
@@ -12,7 +12,7 @@ SRC_URI = "svn://lz4.googlecode.com/svn/;module=trunk;protocol=http"
S = "${WORKDIR}/trunk" 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() { do_install() {
oe_runmake install oe_runmake install