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
..
2019-04-04 18:57:42 -07:00
2018-12-15 00:39:04 -08:00
2019-04-04 18:57:42 -07:00
2019-02-17 23:55:16 -08:00
2018-12-01 10:10:51 -08:00