gnat: Attempt to fix random build failures
Sometimes the build failes with: In file included from ../../gcc-4.4.6/gcc/ada/seh_init.c:44: ../../gcc-4.4.6/gcc/system.h:418: error: conflicting types for 'strsignal' /nix/store/6h129q168ahnl2nzw6azr239cba884ng-glibc-2.18/include/string.h:560: note: previous declaration of 'strsignal' was here and sometimes it doesn't. Hopefully disabling parallel builds fixes this. http://hydra.nixos.org/build/7179481
This commit is contained in:
parent
c9cd03f3e5
commit
04c364d181
@ -246,7 +246,7 @@ stdenv.mkDerivation ({
|
|||||||
enableMultilib version; };
|
enableMultilib version; };
|
||||||
|
|
||||||
# ghdl does not build fine with parallel building
|
# ghdl does not build fine with parallel building
|
||||||
enableParallelBuilding = !langVhdl;
|
enableParallelBuilding = !langVhdl && !langAda;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://gcc.gnu.org/;
|
homepage = http://gcc.gnu.org/;
|
||||||
|
@ -360,7 +360,7 @@ stdenv.mkDerivation ({
|
|||||||
passthru = { inherit langC langCC langAda langFortran langVhdl
|
passthru = { inherit langC langCC langAda langFortran langVhdl
|
||||||
enableMultilib version; };
|
enableMultilib version; };
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = !langAda;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://gcc.gnu.org/;
|
homepage = http://gcc.gnu.org/;
|
||||||
|
@ -434,7 +434,7 @@ stdenv.mkDerivation ({
|
|||||||
passthru = { inherit langC langCC langAda langFortran langVhdl
|
passthru = { inherit langC langCC langAda langFortran langVhdl
|
||||||
langGo version; };
|
langGo version; };
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = !langAda;
|
||||||
|
|
||||||
inherit (stdenv) is64bit;
|
inherit (stdenv) is64bit;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user