@@ -119,14 +119,23 @@ in
119119 };
120120 stdenvNoCC = stdenv;
121121
122− cc = import ../../build-support/cc-wrapper {
123− name = "cc-native";
124− nativeTools = true;
125− nativeLibc = true;
122+ cc = let
126123 nativePrefix = { # switch
127124 "i686-solaris" = "/usr/gnu";
128125 "x86_64-solaris" = "/opt/local/gcc47";
129126 }.${system} or "/usr";
127+ in
128+ import ../../build-support/cc-wrapper {
129+ name = "cc-native";
130+ nativeTools = true;
131+ nativeLibc = true;
132+ inherit nativePrefix;
133+ bintools = import ../../build-support/bintools-wrapper {
134+ name = "bintools";
135+ inherit stdenvNoCC nativePrefix;
136+ nativeTools = true;
137+ nativeLibc = true;
138+ };
130139 inherit stdenvNoCC;
131140 };
132141