]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc10: Default back to -fcommon
authorKhem Raj <raj.khem@gmail.com>
Tue, 12 May 2020 18:30:52 +0000 (11:30 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 May 2020 13:13:50 +0000 (14:13 +0100)
For time being change back to -fcommon as default, helps us iron
out other issues, eventually this should be removed as we fix the
packages to work with -fno-common

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-configure-common.inc

index a64c4caf0010349eb062fb52e8443b02fc670974..6cb40fcb746063eda2b59070ace8f1a1b035cd73 100644 (file)
@@ -34,6 +34,7 @@ EXTRA_OECONF = "\
     --program-prefix=${TARGET_PREFIX} \
     --without-local-prefix \
     --disable-install-libiberty \
+    --with-specs=%{!fno-common:%{!fcommon:-fcommon}} \
     ${EXTRA_OECONF_BASE} \
     ${EXTRA_OECONF_GCC_FLOAT} \
     ${EXTRA_OECONF_PATHS} \