Enable parallel building for GCC.
Even if using profiledbootstrap. This was unsafe before 4.8, and then the documentation was not fixed on time. The documentation got fixed here: https://github.com/gcc-mirror/gcc/commit/c763997f340ec1fab37ad538b57afdad4f4bf747 But the actual code was already fixed here: https://github.com/gcc-mirror/gcc/commit/5d2fca09d543d4b42b99fe20f412efb78cc50ec3 So this is safe both for GCC 4.8 and GCC 4.9.
This commit is contained in:
committed by
Eelco Dolstra
parent
330fadb706
commit
f199e115d2
@@ -59,10 +59,7 @@ let version = "4.8.3";
|
|||||||
# Whether building a cross-compiler for GNU/Hurd.
|
# Whether building a cross-compiler for GNU/Hurd.
|
||||||
crossGNU = cross != null && cross.config == "i586-pc-gnu";
|
crossGNU = cross != null && cross.config == "i586-pc-gnu";
|
||||||
|
|
||||||
/* gccinstall.info says that "parallel make is currently not supported since
|
enableParallelBuilding = true;
|
||||||
collisions in profile collecting may occur".
|
|
||||||
*/
|
|
||||||
enableParallelBuilding = !profiledCompiler;
|
|
||||||
|
|
||||||
patches = []
|
patches = []
|
||||||
++ optional enableParallelBuilding ./parallel-bconfig.patch
|
++ optional enableParallelBuilding ./parallel-bconfig.patch
|
||||||
|
|||||||
@@ -57,10 +57,7 @@ let version = "4.9.1";
|
|||||||
# Whether building a cross-compiler for GNU/Hurd.
|
# Whether building a cross-compiler for GNU/Hurd.
|
||||||
crossGNU = cross != null && cross.config == "i586-pc-gnu";
|
crossGNU = cross != null && cross.config == "i586-pc-gnu";
|
||||||
|
|
||||||
/* gccinstall.info says that "parallel make is currently not supported since
|
enableParallelBuilding = true;
|
||||||
collisions in profile collecting may occur".
|
|
||||||
*/
|
|
||||||
enableParallelBuilding = !profiledCompiler;
|
|
||||||
|
|
||||||
patches = [ ]
|
patches = [ ]
|
||||||
++ optional enableParallelBuilding ./parallel-bconfig.patch
|
++ optional enableParallelBuilding ./parallel-bconfig.patch
|
||||||
|
|||||||
Reference in New Issue
Block a user