mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-14 05:55:25 +00:00
crash: Pass optimization flags to configure via CC
This is because when using fortify warnings we need to have some level of optimization, while we append warnings to CC we dont do the same for optimization, which results in compile failures when doing build with hardened flags Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
80608a7a81
commit
b62538284d
@ -35,6 +35,7 @@ SRC_URI[gdb.sha256sum] = "8070389a5dcc104eb0be483d582729f98ed4d761ad19cedd3f17b5
|
||||
inherit gettext
|
||||
|
||||
BBCLASSEXTEND = "native cross"
|
||||
TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}"
|
||||
|
||||
# crash 7.1.3 and before don't support mips64
|
||||
COMPATIBLE_HOST = "^(?!mips64).*"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user