nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

kore: fix clang build

/cc ZHF #36454

+3 -2
+3 -2
pkgs/development/web/kore/default.nix
··· 20 20 21 21 makeFlags = [ "PREFIX=$(out)" ]; 22 22 23 - # added to fix build w/gcc7 24 - NIX_CFLAGS_COMPILE = stdenv.lib.optionals stdenv.isLinux [ "-Wno-error=pointer-compare" ]; 23 + # added to fix build w/gcc7 and clang5 24 + NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=pointer-compare" 25 + + stdenv.lib.optionalString stdenv.cc.isClang " -Wno-error=unknown-warning-option"; 25 26 26 27 enableParallelBuilding = true; 27 28