mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
dhcp: fix compilation on gcc8 (#40605)
This commit is contained in:
parent
283a61a800
commit
5c225ca10c
|
@ -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}" ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue