dhcp: fix compilation on gcc8 (#40605)
This commit is contained in:
parent
283a61a800
commit
5c225ca10c
@ -33,7 +33,10 @@ stdenv.mkDerivation rec {
|
||||
"--localstatedir=/var"
|
||||
] ++ 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