archiveopteryx: fix build w/gcc7

This commit is contained in:
xeji 2018-03-17 18:46:45 +01:00
parent 276001c51b
commit add347c8b2
1 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,13 @@ stdenv.mkDerivation rec {
sed -i 's:MANDIR = $(PREFIX)/man:MANDIR = '$out'/share/man:' ./Jamsettings sed -i 's:MANDIR = $(PREFIX)/man:MANDIR = '$out'/share/man:' ./Jamsettings
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
NIX_CFLAGS_COMPILE = [
"-Wno-error=builtin-declaration-mismatch"
"-Wno-error=implicit-fallthrough"
];
buildPhase = ''jam "-j$NIX_BUILD_CORES" ''; buildPhase = ''jam "-j$NIX_BUILD_CORES" '';
installPhase = '' installPhase = ''
jam install jam install