diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-09 09:48:44 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-10 14:50:11 +0000 |
| commit | ea7818b8b52ddbc0c0baa2d5ecb85a8d1f97d844 (patch) | |
| tree | 60874c8e7f791d631552521c7f27821ec317791c /meta/recipes-extended/tzcode | |
| parent | cb454d401a1e7074531b9dd5fd1719b09caf5f66 (diff) | |
| download | poky-ea7818b8b52ddbc0c0baa2d5ecb85a8d1f97d844.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: 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}/ |
