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-10-05 15:25:10 -05:00
parent 6f2475f5bf
commit 73d537672d

View File

@ -50,7 +50,7 @@ in stdenv.mkDerivation rec {
rmdir $out/usr rmdir $out/usr
''; '';
NIX_CFLAGS_COMPILE = "-Wno-error=strict-aliasing"; NIX_CFLAGS_COMPILE = "-Wno-error";
cmakeFlags = [ "-GNinja" ]; cmakeFlags = [ "-GNinja" ];