[oe-commits] [meta-openembedded] 66/129: crash: Pass optimization flags to configure via CC

git at git.openembedded.org git at git.openembedded.org
Mon Sep 11 16:11:15 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch pyro-next
in repository meta-openembedded.

commit 7c9c08d49579353969a76136fcbd4956bf01be80
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Tue Jun 27 23:14:17 2017 -0700

    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 at gmail.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-oe/recipes-kernel/crash/crash_7.1.8.bb | 1 +
 1 file changed, 1 insertion(+)

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 9cbb291..9c31f5e 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
 inherit gettext
 
 BBCLASSEXTEND = "native cross"
+TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}"
 
 # crash 7.1.3 and before don't support mips64
 COMPATIBLE_HOST = "^(?!mips64).*"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list