gcc: make -fcommon default on gcc10

wip/yesman
luc65r 4 years ago committed by Frederik Rietdijk
parent af802654b9
commit b1b3ca7907
  1. 3
      pkgs/development/compilers/gcc/common/configure-flags.nix

@ -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…
Cancel
Save