dhcp: fix compilation on gcc8 (#40605)
This commit is contained in:
@@ -33,7 +33,10 @@ stdenv.mkDerivation rec {
|
|||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
] ++ stdenv.lib.optionals (openldap != null) [ "--with-ldap" "--with-ldapcrypto" ];
|
] ++ 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}" ];
|
installFlags = [ "DESTDIR=\${out}" ];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user