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 ];
|
patches = [ ./dont-create-localstatedir-during-install.patch ];
|
||||||
|
|
||||||
|
# fix build with newer gcc versions
|
||||||
|
preConfigure = ''substituteInPlace configure --replace "-Werror" "" '';
|
||||||
|
|
||||||
configureFlags = ''
|
configureFlags = ''
|
||||||
--sysconfdir=/etc --localstatedir=/var
|
--sysconfdir=/etc --localstatedir=/var
|
||||||
--with-kernel-headers=${linuxHeaders}/include
|
--with-kernel-headers=${linuxHeaders}/include
|
||||||
|
Loading…
x
Reference in New Issue
Block a user