summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/mkelfimage
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2016-01-29 12:35:56 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-31 13:29:48 +0000
commit770d9ffb58546b4e3223cdbd4a5c870af7e473cf (patch)
tree3fa5bf0e4338e194570d59bccd84be13bdac8d9f /meta/recipes-devtools/mkelfimage
parentc936bf0dfa67c14866dc7c855872779143d3f6d7 (diff)
downloadpoky-770d9ffb58546b4e3223cdbd4a5c870af7e473cf.tar.gz
mkelfimage: fix target cflags leaks to host
The patch fix-makefile-to-find-libz.patch fixed native compile failure; for target compile, it incorrectly leaks CFLAGS to HOST_CFLAGS. [YOCTO #3547] (From OE-Core rev: bdd8d79671b9a9fd90d427c9e95ab08af85c394a) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/mkelfimage')
-rw-r--r--meta/recipes-devtools/mkelfimage/mkelfimage_git.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
index e1c33a631b..92435cd1c0 100644
--- a/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
+++ b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
@@ -14,8 +14,10 @@ DEPENDS += "zlib"
14 14
15SRC_URI = "git://review.coreboot.org/p/coreboot;protocol=http \ 15SRC_URI = "git://review.coreboot.org/p/coreboot;protocol=http \
16 file://cross-compile.patch \ 16 file://cross-compile.patch \
17 file://fix-makefile-to-find-libz.patch \
18 " 17 "
18SRC_URI_append_class-native = " \
19 file://fix-makefile-to-find-libz.patch \
20"
19 21
20CLEANBROKEN = "1" 22CLEANBROKEN = "1"
21 23