packcc: fix failing test due to clang 16

Downgrade -Wstrict-prototypes and -Wint-conversion to non-errors, so the
code_generation.d test does not fail unexpectedly.
This commit is contained in:
Randy Eckenrode
2023-11-08 19:11:45 -05:00
parent 3925a35d86
commit 75f3285530
@@ -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 = ''