summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-09 09:48:44 +0000
committerArmin Kuster <akuster808@gmail.com>2018-02-22 11:14:01 -0800
commitca9fadbecba619b901f502969991f58934d8e319 (patch)
tree31c74313ab29f695b34259e970022ee9d9f5b6e8
parentae5308234d37c582519b7c6e6d2c0842e4bda233 (diff)
downloadopenembedded-core-contrib-ca9fadbecba619b901f502969991f58934d8e319.tar.gz
openembedded-core-contrib-ca9fadbecba619b901f502969991f58934d8e319.tar.bz2
openembedded-core-contrib-ca9fadbecba619b901f502969991f58934d8e319.zip
tzcode-native: Set cc to ${CC}
Building on a system without "cc" showed this recipe doesn't respect the $CC variable. Fix this by passing the right option to the makefile. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 402080c0a77443f541fa3d658b79f3fba327279d) (cherry picked from commit 313d977fdfe571ad6edf65c6ed20bbb0110dc320) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta/recipes-extended/tzcode/tzcode-native_2017a.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/tzcode/tzcode-native_2017a.bb b/meta/recipes-extended/tzcode/tzcode-native_2017a.bb
index cd4f0232f5..b006d6ecde 100644
--- a/meta/recipes-extended/tzcode/tzcode-native_2017a.bb
+++ b/meta/recipes-extended/tzcode/tzcode-native_2017a.bb
@@ -17,6 +17,8 @@ S = "${WORKDIR}"
inherit native
+EXTRA_OEMAKE += "cc=${CC}"
+
do_install () {
install -d ${D}${bindir}/
install -m 755 zic ${D}${bindir}/