]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
tzcode-native: Set cc to ${CC}
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Mar 2017 09:48:44 +0000 (09:48 +0000)
committerArmin Kuster <akuster808@gmail.com>
Thu, 22 Feb 2018 19:14:01 +0000 (11:14 -0800)
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>
meta/recipes-extended/tzcode/tzcode-native_2017a.bb

index cd4f0232f5f1b2eb451293a5ba0b623fd64691df..b006d6ecde81f106e09fce2b4bb7dbbbde6cfcb9 100644 (file)
@@ -17,6 +17,8 @@ S = "${WORKDIR}"
 
 inherit native
 
+EXTRA_OEMAKE += "cc=${CC}"
+
 do_install () {
         install -d ${D}${bindir}/
         install -m 755 zic ${D}${bindir}/