From 73d537672db04cb0273842f8adf9164a73450f57 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 5 Oct 2018 15:25:10 -0500 Subject: [PATCH] xcbuild: set -Wno-error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gcc doesn’t know all of the specific flags here. It is easier to just set -Wno-error. --- pkgs/development/tools/xcbuild/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/xcbuild/default.nix b/pkgs/development/tools/xcbuild/default.nix index e71375402c7..29325fad724 100644 --- a/pkgs/development/tools/xcbuild/default.nix +++ b/pkgs/development/tools/xcbuild/default.nix @@ -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" ];