dhcp: fixup build with gcc-7 (ignore warning)
Upgrade to latest release wouldn't solve this one, and it would conflict with both of our patches, so I decided not to spend much time on this for now.
This commit is contained in:
parent
4efdd7e87d
commit
c65c1f6434
|
@ -37,6 +37,8 @@ stdenv.mkDerivation rec {
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
] ++ stdenv.lib.optionals (openldap != null) [ "--with-ldap" "--with-ldapcrypto" ];
|
] ++ stdenv.lib.optionals (openldap != null) [ "--with-ldap" "--with-ldapcrypto" ];
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = [ "-Wno-error=pointer-compare" ];
|
||||||
|
|
||||||
installFlags = [ "DESTDIR=\${out}" ];
|
installFlags = [ "DESTDIR=\${out}" ];
|
||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
|
|
Loading…
Reference in New Issue