Skip to contentSkip to conversation

lz4: fix CC

PATCH New Robert Yang 1 participant 2 messages Feb 24, 2014

lore
Share & tools
lore
#0 lore raw

cover lz4: fix CC

The following changes since commit 641185084afb8d76865faa13879547f8e546e553:

weston: disable-egl when no wayland (2014-02-24 04:24:33 -0500)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib rbt/lz4
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/lz4

Robert Yang (1):
lz4: fix CC

 meta/recipes-support/lz4/lz4_svn.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 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]

---
 meta/recipes-support/lz4/lz4_svn.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/lz4/lz4_svn.bb +1 -1
index a760313..38e36d8 100644
@@ -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
Signature · 1 line
1.7.10.4