diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-02-24 04:35:55 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-24 11:57:50 +0000 |
commit | 2b7edd5d15592ddda0ca91c95d7ad18f5a030a85 (patch) | |
tree | 62217a0db74a891d26e49816bc50de9d7c089602 | |
parent | 6a708c3edb5da3d73730eaf21d8c6c4f79972e9d (diff) | |
download | poky-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>
-rw-r--r-- | meta/recipes-support/lz4/lz4_svn.bb | 2 |
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" | |||
12 | 12 | ||
13 | S = "${WORKDIR}/trunk" | 13 | S = "${WORKDIR}/trunk" |
14 | 14 | ||
15 | EXTRA_OEMAKE = "PREFIX=${prefix} CC=${TARGET_PREFIX}gcc DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}" | 15 | EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}" |
16 | 16 | ||
17 | do_install() { | 17 | do_install() { |
18 | oe_runmake install | 18 | oe_runmake install |