[OE-core] [PATCH 3/5] mkelfimage: fix target cflags leaks to host
Hongxu Jia
hongxu.jia at windriver.com
Fri Jan 29 17:35:56 UTC 2016
The patch fix-makefile-to-find-libz.patch fixed native
compile failure; for target compile, it incorrectly
leaks CFLAGS to HOST_CFLAGS.
[YOCTO #3547]
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
meta/recipes-devtools/mkelfimage/mkelfimage_git.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
index e1c33a6..92435cd 100644
--- a/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
+++ b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
@@ -14,8 +14,10 @@ DEPENDS += "zlib"
SRC_URI = "git://review.coreboot.org/p/coreboot;protocol=http \
file://cross-compile.patch \
- file://fix-makefile-to-find-libz.patch \
"
+SRC_URI_append_class-native = " \
+ file://fix-makefile-to-find-libz.patch \
+"
CLEANBROKEN = "1"
--
1.9.1
More information about the Openembedded-core
mailing list