crosstool-ng/config/libc
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
..
avr-libc.in Add config flags for omitting 'arch' and 'vendor' 2018-12-10 01:10:01 -08:00
bionic.in Add new Android API levels 2018-12-21 21:07:44 +01:00
glibc.in Fix build of older Glibc using GCC >=10 2021-06-24 00:58:32 -07:00
mingw-w64.in Require ld to be default when building mingw-w64 2018-12-04 18:49:08 -08:00
moxiebox.in Allow short "moxiebox" alias 2018-12-10 01:11:18 -08:00
musl.in Make comp.libs use generated templates, too 2017-11-29 23:44:49 -08:00
newlib.in Add newlib retargetable locking configuration 2019-12-20 11:18:46 +09:00
none.in Make comp.libs use generated templates, too 2017-11-29 23:44:49 -08:00
uClibc.in uClibc: fix selection of debug level 2019-04-05 18:25:52 +03:00