Skip to content

Commit

Permalink
dhcp: fixup build with gcc-7 (ignore warning)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vcunat committed Nov 12, 2017
1 parent 4efdd7e commit c65c1f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/tools/networking/dhcp/default.nix
Expand Up @@ -37,6 +37,8 @@ stdenv.mkDerivation rec {
"--localstatedir=/var"
] ++ stdenv.lib.optionals (openldap != null) [ "--with-ldap" "--with-ldapcrypto" ];

NIX_CFLAGS_COMPILE = [ "-Wno-error=pointer-compare" ];

installFlags = [ "DESTDIR=\${out}" ];

postInstall =
Expand Down

0 comments on commit c65c1f6

Please sign in to comment.