[OE-core] [PATCH 1/6] gcc-runtime: Remove -mcpu=cortex-a7 when building for -march=armv7ve
Andre McCurdy
armccurdy at gmail.com
Tue Jun 12 17:36:11 UTC 2018
On Tue, May 29, 2018 at 10:04 PM, Khem Raj <raj.khem at gmail.com> wrote:
> This fixes conflicts like
> cc1: error: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch [-Werror]
Ross, this patch still seems to be living on in mut, even after the
latest rebase. It should be dropped as the latest gcc8 patchset
contained a better fix.
> 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 72b8081cd3..22617a2838 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"
> --
> 2.17.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list