gcc: make -fcommon default on gcc10

This commit is contained in:
luc65r 2020-06-08 12:12:21 +02:00 committed by Frederik Rietdijk
parent af802654b9
commit b1b3ca7907

View File

@ -194,6 +194,9 @@ let
++ lib.optionals (langD) [
"--with-target-system-zlib=yes"
]
# Make -fcommon default on gcc10
# TODO: fix all packages (probably 100+) and remove that
++ lib.optional (version >= "10.1.0") "--with-specs=%{!fno-common:%{!fcommon:-fcommon}}"
;
in configureFlags