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>
This commit is contained in:
parent
c936bf0dfa
commit
770d9ffb58
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue