Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

pbis-open: fix build with gcc9

+1 -1
+1 -1
pkgs/tools/security/pbis/default.nix
··· 31 mkdir release 32 cd release 33 if [ $CC = gcc ]; then 34 - NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -Wno-error=format-overflow" 35 fi 36 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" 37 '';
··· 31 mkdir release 32 cd release 33 if [ $CC = gcc ]; then 34 + NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -Wno-error=format-overflow -Wno-error=address-of-packed-member" 35 fi 36 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" 37 '';