[oe-commits] [openembedded-core] 01/02: gcc-runtime: Remove -mcpu=cortex-a7 when building for -march=armv7ve

git at git.openembedded.org git at git.openembedded.org
Tue May 29 20:10:56 UTC 2018


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

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 27e273fe5fe880eac584023153ccef33b65bf859
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Thu Mar 22 22:56:31 2018 -0700

    gcc-runtime: Remove -mcpu=cortex-a7 when building for -march=armv7ve
    
    This fixes conflicts like
    cc1: error: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch [-Werror]
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/gcc/gcc-runtime.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index 72b8081..22617a2 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -14,6 +14,8 @@ EXTRA_OECONF_PATHS = "\
     --with-build-sysroot=${STAGING_DIR_TARGET} \
 "
 
+TUNE_FEATURES_remove_armv7ve = "cortexa7"
+
 EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
 
 RUNTIMELIBITM = "libitm"

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


More information about the Openembedded-commits mailing list