xcbuild: set -Wno-error

gcc doesn’t know all of the specific flags here. It is easier to just
set -Wno-error.
This commit is contained in:
Matthew Bauer
2018-11-29 20:12:31 -06:00
parent 6f2475f5bf
commit 73d537672d
+1 -1
View File
@@ -50,7 +50,7 @@ in stdenv.mkDerivation rec {
rmdir $out/usr
'';
NIX_CFLAGS_COMPILE = "-Wno-error=strict-aliasing";
NIX_CFLAGS_COMPILE = "-Wno-error";
cmakeFlags = [ "-GNinja" ];