mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 15:41:40 +00:00
chaps: fix build with gcc8
This commit is contained in:
parent
a5e803c14b
commit
059bbd041a
|
@ -31,8 +31,12 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0chk6pnn365d5kcz6vfqx1d0383ksk97icc0lzg0vvb0kvyj0ff1";
|
||||
};
|
||||
|
||||
# readdir_r(3) is deprecated in glibc >= 2.24
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
# readdir_r(3) is deprecated in glibc >= 2.24
|
||||
"-Wno-error=deprecated-declarations"
|
||||
# gcc8 catching polymorphic type error
|
||||
"-Wno-error=catch-value"
|
||||
];
|
||||
|
||||
patches = [ ./fix_absolute_path.patch ./fix_environment_variables.patch ./fix_scons.patch ./insert_prefetches.patch ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue