aboutsummaryrefslogtreecommitdiffstats
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-05-18 13:04:44 +0100
commit313d977fdfe571ad6edf65c6ed20bbb0110dc320 (patch)
tree7058fbe2cb1ff930828b38ce148797dc8c76d40a /meta/recipes-extended
parent697ea2e2776e54b5cac70461b8aafa2c9b7a0bc3 (diff)
downloadopenembedded-core-contrib-313d977fdfe571ad6edf65c6ed20bbb0110dc320.tar.gz
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)
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}/