archiveopteryx: fix build with gcc9
This commit is contained in:
@@ -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" '';
|
||||||
|
|||||||
Reference in New Issue
Block a user