Skip to content

Commit

Permalink
Merge #37264: archiveopteryx: fix build w/gcc7
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Mar 18, 2018
2 parents 2bbd1d9 + add347c commit 214016c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/servers/mail/archiveopteryx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 214016c

Please sign in to comment.