don't set CFLAGS_COMMON - it causes unwanted COMMON symbols even in some fixed code.

This commit is contained in:
Kalamatee 2021-01-19 00:38:11 +00:00 committed by deadwood
parent d30be87a2d
commit 532e6bc6a5
2 changed files with 3 additions and 4 deletions

View File

@ -6842,14 +6842,12 @@ if test "$IS_LLVM_COMPILER" -eq "0"; then
IS_GNU_COMPILER=`echo "$COMPILER_VERSION" | grep -i -c -E 'gcc'`
fi
if test "$IS_GNU_COMPILER" -ne "0"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: \"GNU Compiler....\"" >&5
$as_echo "$as_me: \"GNU Compiler....\"" >&6;}
GNU_COMPILER_VERS="`${CC} -dumpversion`"
GCC_VERSION_MAJOR=$(echo $GNU_COMPILER_VERS | cut -d'.' -f1)
GCC_VERSION_MINOR=$(echo $GNU_COMPILER_VERS | cut -d'.' -f2)
GCC_VERSION_PATCH=$(echo $GNU_COMPILER_VERS | cut -d'.' -f3)
if test "$GCC_VERSION_MAJOR" -gt "9" ; then
aros_toolchain_cflags_common="$""(CFLAGS_COMMON)"
aros_toolchain_cflags_common=""
fi
fi

View File

@ -1356,7 +1356,8 @@ if test "$IS_GNU_COMPILER" -ne "0"; then
GCC_VERSION_MINOR=$(echo $GNU_COMPILER_VERS | cut -d'.' -f2)
GCC_VERSION_PATCH=$(echo $GNU_COMPILER_VERS | cut -d'.' -f3)
if test "$GCC_VERSION_MAJOR" -gt "9" ; then
aros_toolchain_cflags_common="$""(CFLAGS_COMMON)"
dnl $""(CFLAGS_COMMON)
aros_toolchain_cflags_common=""
fi
fi