mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
mkelfimage: fix compile issues
This fixes a couple issues introduced by the previous patch. There were a couple spots where HOST_CFLAGS needed changing to CFLAGS. This fixes builds with security_flags. (From OE-Core rev: 72792a2fd900fe86d18bd8e330bc0535e2eeb80d) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
06563e639f
commit
8a97d9ef92
@@ -24,8 +24,11 @@ CLEANBROKEN = "1"
|
||||
S = "${WORKDIR}/git/util/mkelfImage"
|
||||
|
||||
CFLAGS += "-fno-stack-protector"
|
||||
CACHED_CONFIGUREVARS += "HOST_CC='${BUILD_CC}'"
|
||||
EXTRA_OEMAKE += "HOST_CPPFLAGS='${BUILD_CPPFLAGS}'"
|
||||
CACHED_CONFIGUREVARS += "\
|
||||
HOST_CC='${BUILD_CC}' \
|
||||
HOST_CFLAGS='${BUILD_CFLAGS}' \
|
||||
HOST_CPPFLAGS='${BUILD_CPPFLAGS}' \
|
||||
"
|
||||
|
||||
inherit autotools-brokensep
|
||||
|
||||
|
||||
Reference in New Issue
Block a user