diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-06-27 23:14:17 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-09-13 17:16:28 -0700 |
commit | c027939f70c7c110766323500a144849e0a8bf46 (patch) | |
tree | ae9b724fb951769e5282a07ffb2a2b2dbf139430 /meta-oe/recipes-kernel | |
parent | f4024e0f164bf5518c080f0d033cd2f71a33ca46 (diff) | |
download | meta-openembedded-c027939f70c7c110766323500a144849e0a8bf46.tar.gz |
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel')
-rw-r--r-- | meta-oe/recipes-kernel/crash/crash_7.1.8.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/crash/crash_7.1.8.bb b/meta-oe/recipes-kernel/crash/crash_7.1.8.bb index 9cbb291f3..9c31f5e1a 100644 --- a/meta-oe/recipes-kernel/crash/crash_7.1.8.bb +++ b/meta-oe/recipes-kernel/crash/crash_7.1.8.bb | |||
@@ -37,6 +37,7 @@ SRC_URI[gdb.sha256sum] = "8070389a5dcc104eb0be483d582729f98ed4d761ad19cedd3f17b5 | |||
37 | inherit gettext | 37 | inherit gettext |
38 | 38 | ||
39 | BBCLASSEXTEND = "native cross" | 39 | BBCLASSEXTEND = "native cross" |
40 | TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}" | ||
40 | 41 | ||
41 | # crash 7.1.3 and before don't support mips64 | 42 | # crash 7.1.3 and before don't support mips64 |
42 | COMPATIBLE_HOST = "^(?!mips64).*" | 43 | COMPATIBLE_HOST = "^(?!mips64).*" |