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

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.sh Rename JOBSFLAGS -> CT_JOBSFLAGS 2019-04-04 18:57:42 -07:00
bionic.sh Bionic modifies CT_TARGET_CFLAGS 2018-12-15 00:39:04 -08:00
glibc.sh Fix build of older Glibc using GCC >=10 2021-06-24 00:58:32 -07:00
mingw-w64.sh Rename JOBSFLAGS -> CT_JOBSFLAGS 2019-04-04 18:57:42 -07:00
moxiebox.sh Move moxiebox build to post_cc 2019-02-17 23:55:16 -08:00
musl.sh Resepct CT_TARGET_{C,LD}FLAGS when building musl 2019-12-04 16:55:20 +02:00
newlib.sh Merge pull request from maxmorozov/master 2020-01-21 16:44:29 -08:00
none.sh Add moxiebox as a choice for libc 2018-12-01 10:10:51 -08:00
uClibc.sh Don't remove XLOCALE support unconditionally. 2020-10-15 13:59:04 -06:00