Add a stdenv adapter ‘useGoldLinker’ to force use of Gold

This commit is contained in:
Eelco Dolstra
2014-02-05 19:18:33 +01:00
parent e060d9a2ff
commit 7703f04b75
5 changed files with 37 additions and 23 deletions
+4 -2
View File
@@ -11,6 +11,8 @@
rec {
lib = import ../../../lib;
bootstrapFiles =
if system == "i686-linux" then import ./bootstrap/i686
else if system == "x86_64-linux" then import ./bootstrap/x86_64
@@ -134,9 +136,9 @@ rec {
# A helper function to call gcc-wrapper.
wrapGCC =
{gcc ? bootstrapTools, libc, binutils, coreutils, shell ? "", name ? "bootstrap-gcc-wrapper"}:
{ gcc ? bootstrapTools, libc, binutils, coreutils, shell ? "", name ? "bootstrap-gcc-wrapper" }:
import ../../build-support/gcc-wrapper {
lib.makeOverridable (import ../../build-support/gcc-wrapper) {
nativeTools = false;
nativeLibc = false;
inherit gcc binutils coreutils libc shell name;