mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
gcc: make -fcommon default on gcc10
This commit is contained in:
parent
af802654b9
commit
b1b3ca7907
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user