From: Hongxu Jia Date: Fri, 29 Jan 2016 17:35:56 +0000 (-0500) Subject: mkelfimage: fix target cflags leaks to host X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~27282 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdd8d79671b9a9fd90d427c9e95ab08af85c394a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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] Signed-off-by: Hongxu Jia Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb index e1c33a631be..92435cd1c06 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"