Merge pull request #36768 from xeji/kore-darwin

kore: fix darwin build
This commit is contained in:
Graham Christensen 2018-03-10 15:10:47 -05:00 committed by GitHub
commit 2bc4febf80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
makeFlags = [ "PREFIX=$(out)" ];
# added to fix build w/gcc7
NIX_CFLAGS_COMPILE = [ "-Wno-error=pointer-compare" ];
NIX_CFLAGS_COMPILE = stdenv.lib.optionals stdenv.isLinux [ "-Wno-error=pointer-compare" ];
enableParallelBuilding = true;