tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
pbis-open: fix build with gcc9
Franz Pletz
6 years ago
fac07ceb
9ce51b64
+1
-1
1 changed file
expand all
collapse all
unified
split
pkgs
tools
security
pbis
default.nix
+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
'';