summaryrefslogtreecommitdiff
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-09 09:48:44 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-10 14:49:48 +0000
commit402080c0a77443f541fa3d658b79f3fba327279d (patch)
treea033dfa30bee24ec5f95a2c93a4c69932da4aa7d /meta/recipes-extended
parent8c49ab40c2ff2e60b717f479822d1a0021735429 (diff)
downloadopenembedded-core-402080c0a77443f541fa3d658b79f3fba327279d.tar.gz
openembedded-core-402080c0a77443f541fa3d658b79f3fba327279d.tar.bz2
openembedded-core-402080c0a77443f541fa3d658b79f3fba327279d.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>
Diffstat (limited to 'meta/recipes-extended')
-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 0daac531fd..2c26744f33 100644
--- a/meta/recipes-extended/tzcode/tzcode-native_2017a.bb
+++ b/meta/recipes-extended/tzcode/tzcode-native_2017a.bb
@@ -18,6 +18,8 @@ S = "${WORKDIR}"
inherit native
+EXTRA_OEMAKE += "cc=${CC}"
+
do_install () {
install -d ${D}${bindir}/
install -m 755 zic ${D}${bindir}/