libreswan: ignore sign-compare errors (#19129)

This commit is contained in:
Graham Christensen
2016-10-08 08:50:19 -04:00
committed by Franz Pletz
parent 829580e88a
commit 19a0b4c84d

View File

@@ -42,14 +42,15 @@ stdenv.mkDerivation {
# Fix python script to use the correct python
sed -i -e 's|#!/usr/bin/python|#!/usr/bin/env python|' -e 's/^\(\W*\)installstartcheck()/\1sscmd = "ss"\n\0/' programs/verify/verify.in
'';
# Set appropriate paths for build
preBuild = "export INC_USRLOCAL=\${out}";
makeFlags = [
makeFlags = [
"INITSYSTEM=systemd"
(if docs then "all" else "base")
];
CFLAGS = "-Wno-error=sign-compare";
installTargets = [ (if docs then "install" else "install-base") ];
# Hack to make install work