summary refs log tree commit diff
path: root/pkgs/development/tools/packcc/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/packcc/default.nix')
-rw-r--r--pkgs/development/tools/packcc/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/tools/packcc/default.nix b/pkgs/development/tools/packcc/default.nix
index b16b0491c9b..4f618665573 100644
--- a/pkgs/development/tools/packcc/default.nix
+++ b/pkgs/development/tools/packcc/default.nix
@@ -35,6 +35,8 @@ stdenv.mkDerivation rec {
 
     # Disable a failing test.
     rm -rf ../../tests/style.d
+  '' + lib.optionalString stdenv.cc.isClang ''
+    export NIX_CFLAGS_COMPILE+=' -Wno-error=strict-prototypes -Wno-error=int-conversion'
   '';
 
   installPhase = ''