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:
Vladimír Čunát 2017-11-12 12:16:47 +01:00
parent 4efdd7e87d
commit c65c1f6434
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
1 changed files with 2 additions and 0 deletions

View File

@ -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 =