dhcp: fix build with gcc8

This commit is contained in:
Franz Pletz
2019-06-17 07:05:54 +02:00
parent cc2ddd1036
commit d8679a3a36
+1 -1
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}" ];