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:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user