[oe-commits] [openembedded-core] 01/04: tzcode-native: Set cc to ${CC}

git at git.openembedded.org git at git.openembedded.org
Thu Mar 9 21:48:50 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 2f1e631b7a3763f507ab087c1a247bca3a7f9022
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu Mar 9 09:48:44 2017 +0000

    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 at linuxfoundation.org>
---
 meta/recipes-extended/tzcode/tzcode-native_2017a.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/tzcode/tzcode-native_2017a.bb b/meta/recipes-extended/tzcode/tzcode-native_2017a.bb
index 0daac53..2c26744 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}/

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list