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.

(From OE-Core rev: 313d977fdfe571ad6edf65c6ed20bbb0110dc320)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 402080c0a77443f541fa3d658b79f3fba327279d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2017-03-09 09:48:44 +00:00
parent fe4703c473
commit c567b4e058

View File

@@ -18,6 +18,8 @@ S = "${WORKDIR}"
inherit native
EXTRA_OEMAKE += "cc=${CC}"
do_install () {
install -d ${D}${bindir}/
install -m 755 zic ${D}${bindir}/