mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge #37264: archiveopteryx: fix build w/gcc7
This commit is contained in:
commit
214016c118
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue