gcc7: cleanup with a mass rebuild
This commit is contained in:
parent
b14db1b0ba
commit
1abf1971cd
1 changed files with 1 additions and 3 deletions
|
@ -217,9 +217,7 @@ stdenv.mkDerivation ({
|
|||
++ (optional hostPlatform.isDarwin targetPackages.stdenv.cc.bintools)
|
||||
;
|
||||
|
||||
# TODO: Use optionalString with next rebuild.
|
||||
${if (stdenv.cc.isClang && langFortran) then "NIX_CFLAGS_COMPILE" else null} = "-Wno-unused-command-line-argument";
|
||||
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString (stdenv.cc.isClang && langFortran) "-Wno-unused-command-line-argument";
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString hostPlatform.isSunOS "-lm -ldl";
|
||||
|
||||
preConfigure = stdenv.lib.optionalString (hostPlatform.isSunOS && hostPlatform.is64bit) ''
|
||||
|
|
Loading…
Reference in a new issue