diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-09 09:48:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-18 13:07:32 +0100 |
commit | c567b4e058f8f25fec1f905ab6b46eb4202ca0e2 (patch) | |
tree | 8d7f334d47f28344c4b8cdaf747271fef618713c /meta/recipes-extended/tzcode | |
parent | fe4703c473348b1cc86fee06ac770ee439f4c077 (diff) | |
download | poky-c567b4e058f8f25fec1f905ab6b46eb4202ca0e2.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.
(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>
Diffstat (limited to 'meta/recipes-extended/tzcode')
-rw-r--r-- | meta/recipes-extended/tzcode/tzcode-native_2017a.bb | 2 |
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}" | |||
18 | 18 | ||
19 | inherit native | 19 | inherit native |
20 | 20 | ||
21 | EXTRA_OEMAKE += "cc=${CC}" | ||
22 | |||
21 | do_install () { | 23 | do_install () { |
22 | install -d ${D}${bindir}/ | 24 | install -d ${D}${bindir}/ |
23 | install -m 755 zic ${D}${bindir}/ | 25 | install -m 755 zic ${D}${bindir}/ |