Merge #37264: archiveopteryx: fix build w/gcc7

This commit is contained in:
Vladimír Čunát 2018-03-18 11:01:41 +01:00
commit 214016c118
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -19,6 +19,13 @@ stdenv.mkDerivation rec {
sed -i 's:MANDIR = $(PREFIX)/man:MANDIR = '$out'/share/man:' ./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" '';
installPhase = ''
jam install