mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
ipsecTools: fix build with newer gcc versions (warnings)
This commit is contained in:
parent
3dd298060a
commit
900c7d29e7
|
@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
patches = [ ./dont-create-localstatedir-during-install.patch ];
|
||||
|
||||
# fix build with newer gcc versions
|
||||
preConfigure = ''substituteInPlace configure --replace "-Werror" "" '';
|
||||
|
||||
configureFlags = ''
|
||||
--sysconfdir=/etc --localstatedir=/var
|
||||
--with-kernel-headers=${linuxHeaders}/include
|
||||
|
|
Loading…
Reference in a new issue