diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-06-27 23:14:17 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-01 09:59:27 +0200 |
commit | b62538284d0f8f1f45599914651991506a325493 (patch) | |
tree | 53ca98785d1f4bb4ea2bcc62838f00b3756cb1f0 /meta-oe/recipes-kernel | |
parent | 80608a7a810522f6f47a658b6e53fc632820fc4f (diff) | |
download | meta-openembedded-b62538284d0f8f1f45599914651991506a325493.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>
Diffstat (limited to 'meta-oe/recipes-kernel')
-rw-r--r-- | meta-oe/recipes-kernel/crash/crash_7.1.9.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/crash/crash_7.1.9.bb b/meta-oe/recipes-kernel/crash/crash_7.1.9.bb index 93208e398..d40937e93 100644 --- a/meta-oe/recipes-kernel/crash/crash_7.1.9.bb +++ b/meta-oe/recipes-kernel/crash/crash_7.1.9.bb | |||
@@ -35,6 +35,7 @@ SRC_URI[gdb.sha256sum] = "8070389a5dcc104eb0be483d582729f98ed4d761ad19cedd3f17b5 | |||
35 | inherit gettext | 35 | inherit gettext |
36 | 36 | ||
37 | BBCLASSEXTEND = "native cross" | 37 | BBCLASSEXTEND = "native cross" |
38 | TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}" | ||
38 | 39 | ||
39 | # crash 7.1.3 and before don't support mips64 | 40 | # crash 7.1.3 and before don't support mips64 |
40 | COMPATIBLE_HOST = "^(?!mips64).*" | 41 | COMPATIBLE_HOST = "^(?!mips64).*" |