diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2018-03-09 10:50:32 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2018-03-09 10:50:32 +0100 |
commit | ffe2c4be0269e7467f6f69548828848cea52a074 (patch) | |
tree | 01056ea5425998b44dd999f80f4a37866ebb8c6f /pkgs/tools | |
parent | 20a91aea71d66589a926cb4c6b601a32c380c52d (diff) | |
parent | 0d980165c97bec84a1dfe75f414d4f32306d0551 (diff) | |
download | nixlib-ffe2c4be0269e7467f6f69548828848cea52a074.tar nixlib-ffe2c4be0269e7467f6f69548828848cea52a074.tar.gz nixlib-ffe2c4be0269e7467f6f69548828848cea52a074.tar.bz2 nixlib-ffe2c4be0269e7467f6f69548828848cea52a074.tar.lz nixlib-ffe2c4be0269e7467f6f69548828848cea52a074.tar.xz nixlib-ffe2c4be0269e7467f6f69548828848cea52a074.tar.zst nixlib-ffe2c4be0269e7467f6f69548828848cea52a074.zip |
Merge #36555: libreswan: fix build with gcc7
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/libreswan/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/tools/networking/libreswan/default.nix b/pkgs/tools/networking/libreswan/default.nix index b2024f55c4ea..fd2461f51719 100644 --- a/pkgs/tools/networking/libreswan/default.nix +++ b/pkgs/tools/networking/libreswan/default.nix @@ -25,7 +25,12 @@ stdenv.mkDerivation { }; # These flags were added to compile v3.18. Try to lift them when updating. - NIX_CFLAGS_COMPILE = [ "-Wno-error=redundant-decls" "-Wno-error=format-nonliteral" ]; + NIX_CFLAGS_COMPILE = [ "-Wno-error=redundant-decls" "-Wno-error=format-nonliteral" + # these flags were added to build with gcc7 + "-Wno-error=implicit-fallthrough" + "-Wno-error=format-truncation" + "-Wno-error=pointer-compare" + ]; nativeBuildInputs = [ makeWrapper pkgconfig ]; buildInputs = [ bash iproute iptables systemd coreutils gnused gawk gmp unbound bison flex pam libevent |