dhcp: fix build with gcc8
This commit is contained in:
parent
cc2ddd1036
commit
d8679a3a36
@ -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}" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user