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
..
2021-05-11 21:02:22 +12:00
2019-10-02 09:35:46 -07:00
2021-01-19 21:18:55 +02:00
2017-07-08 10:57:56 -07:00
2020-09-01 09:42:53 -07:00
2017-04-22 18:41:50 -07:00
2019-02-21 21:18:37 -08:00