parent
5873a3418b
commit
031492cbfe
@ -20,8 +20,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
makeFlags = [ "PREFIX=$(out)" ];
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
# added to fix build w/gcc7
|
# added to fix build w/gcc7 and clang5
|
||||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionals stdenv.isLinux [ "-Wno-error=pointer-compare" ];
|
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;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user