Merge pull request #172665 from trofi/workaround-fno-common-for-0verkill

_0verkill: add -fcommon workaround for gcc-10
This commit is contained in:
Sandro 2022-05-12 15:08:56 +02:00 committed by GitHub
commit fbf8e81d93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,6 +27,9 @@ gccStdenv.mkDerivation rec {
autoupdate
'';
# The code needs an update for gcc-10:
# https://github.com/hackndev/0verkill/issues/7
NIX_CFLAGS_COMPILE = "-fcommon";
hardeningDisable = [ "all" ]; # Someday the upstream will update the code...
meta = with lib; {