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:
parent
3925a35d86
commit
75f3285530
1 changed files with 2 additions and 0 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue