diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-11-09 11:52:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-09 11:52:44 +0100 |
commit | d96b3a86e56291a57628bc3dc76be1ab086dc29e (patch) | |
tree | 79ceb9bc4ff8e71bacb81751fbc953a6657edee9 /pkgs/development/tools | |
parent | 4aad65bfdbc56be726873b09b4bbaa88448ecbba (diff) | |
parent | 1cd0d4b62d60ef2aa1b7daa583eec275c750acf7 (diff) |
Merge pull request #266358 from reckenrode/python2-fix
python2: fix build with clang 16 on x86_64-darwin
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/packcc/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/tools/packcc/default.nix b/pkgs/development/tools/packcc/default.nix index b16b0491c9b63..4f618665573c0 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 = '' |