crosstool-ng/scripts/build
Nik Konyuchenko 05c6758985 Fix build of older Glibc using GCC >=10
Issue #1535

GCC 10 changed the default to -fno-common, which leads to a linking error in GLibc older than 2.30.

This change adds -fcommon cflag for the target GLibc versions <=2.29 and GCC >=10.

This change also adds additional cflags for the target GLibc to disable
new GCC11 checks that lead to compilation errors.

Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
2021-06-24 00:58:32 -07:00
..
arch Add PRU cross tool target 2021-01-19 21:18:55 +02:00
binutils binutils: Disable glob for better portability 2020-10-14 23:10:47 +03:00
cc gcc: Make CC_GCC_TM_CLONE_REGISTRY tristate 2021-06-20 11:37:00 +12:00
companion_libs newlib: Add libstdc++ nano-specific CXXFLAGS 2021-06-07 19:53:28 +09:00
companion_tools m4: fix build for mingw32 host 2020-10-06 09:32:40 +02:00
debug gdb: Don't mess with gdbserver config permissions 2021-04-15 16:26:05 +03:00
kernel Experimental: Add support for the Texas Instruments C6X (TMS320C6000 series) DSPs 2020-05-20 21:16:14 -04:00
libc Fix build of older Glibc using GCC >=10 2021-06-24 00:58:32 -07:00
test_suite Fix the references to old config variables 2017-07-08 10:57:56 -07:00
arch.sh Add config flags for omitting 'arch' and 'vendor' 2018-12-10 01:10:01 -08:00
companion_libs.sh Build companion libs for target. 2015-11-13 10:24:22 -08:00
companion_tools.sh Some locations were missed while renaming kconfig symbols 2017-07-08 10:57:57 -07:00
debug.sh Some locations were missed while renaming kconfig symbols 2017-07-08 10:57:57 -07:00
internals.sh build/internals.sh: Handle pie executables 2019-09-14 22:21:11 +12:00
libc.sh Use "package ksym" when fetching/extracting 2018-12-14 18:50:51 -08:00
test_suite.sh Some locations were missed while renaming kconfig symbols 2017-07-08 10:57:57 -07:00