forked from mirrors/nixpkgs
parent
5873a3418b
commit
031492cbfe
|
@ -20,8 +20,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
# added to fix build w/gcc7
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionals stdenv.isLinux [ "-Wno-error=pointer-compare" ];
|
||||
# added to fix build w/gcc7 and clang5
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=pointer-compare"
|
||||
+ stdenv.lib.optionalString stdenv.cc.isClang " -Wno-error=unknown-warning-option";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue