pbis-open: fix build with gcc9
This commit is contained in:
parent
9ce51b64bf
commit
fac07ceb2a
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||
mkdir release
|
||||
cd release
|
||||
if [ $CC = gcc ]; then
|
||||
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -Wno-error=format-overflow"
|
||||
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -Wno-error=format-overflow -Wno-error=address-of-packed-member"
|
||||
fi
|
||||
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem ${stdenv.lib.getDev libxml2}/include/libxml2 -Wno-error=array-bounds -Wno-error=pointer-sign -Wno-error=deprecated-declarations -Wno-error=unused-variable"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user