From 712354d8fcbb82d739a2ae014faff6130b777052 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Mon, 24 Feb 2014 04:35:55 -0500 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- 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 -- 2.7.4