archiveopteryx: fix build with gcc9
This commit is contained in:
parent
74554ab3b2
commit
f60914ac2c
@ -20,10 +20,11 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i 's:READMEDIR = $(PREFIX):READMEDIR = '$out'/share/doc/archiveopteryx:' ./Jamsettings
|
sed -i 's:READMEDIR = $(PREFIX):READMEDIR = '$out'/share/doc/archiveopteryx:' ./Jamsettings
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# fix build on gcc7
|
# fix build on gcc7+
|
||||||
NIX_CFLAGS_COMPILE = [
|
NIX_CFLAGS_COMPILE = [
|
||||||
"-Wno-error=builtin-declaration-mismatch"
|
"-Wno-error=builtin-declaration-mismatch"
|
||||||
"-Wno-error=implicit-fallthrough"
|
"-Wno-error=implicit-fallthrough"
|
||||||
|
"-Wno-error=deprecated-copy"
|
||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = ''jam "-j$NIX_BUILD_CORES" '';
|
buildPhase = ''jam "-j$NIX_BUILD_CORES" '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user