dhcp: fix build with gcc8

This commit is contained in:
Franz Pletz 2019-01-10 15:40:42 +01:00
parent cc2ddd1036
commit d8679a3a36
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
(lib.optional stdenv.isLinux "--with-randomdev=/dev/random")
] ++ stdenv.lib.optionals (openldap != null) [ "--with-ldap" "--with-ldapcrypto" ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=pointer-compare" ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=pointer-compare" "-Wno-error=format-truncation" ];
installFlags = [ "DESTDIR=\${out}" ];