From 58eb27f5ed9c3f0b9c3b76a73a18efc413e61239 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Thu, 11 Aug 2016 22:15:59 -0500 Subject: [PATCH] boringssl: fix darwin build Add -Wno-error to make clang happy. Seems impossible to keep both gcc and clang happy. --- pkgs/development/libraries/boringssl/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/boringssl/default.nix b/pkgs/development/libraries/boringssl/default.nix index 778c368f0f1..3a537821298 100644 --- a/pkgs/development/libraries/boringssl/default.nix +++ b/pkgs/development/libraries/boringssl/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { buildInputs = [ cmake perl go ]; enableParallelBuilding = true; - NIX_CFLAGS_COMPILE = "-Wno-error=cpp"; + NIX_CFLAGS_COMPILE = "-Wno-error"; installPhase = '' mkdir -p $out/bin $out/include $out/lib