archiveopteryx: fix build with gcc9

This commit is contained in:
Franz Pletz
2019-11-02 19:50:49 +01:00
parent 74554ab3b2
commit f60914ac2c
+2 -1
View File
@@ -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" '';