cc-wrapper: Learn about target prefixes

This is first step towards getting rid of gcc-wrapper-cross
This commit is contained in:
John Ericson
2017-06-22 17:52:27 -04:00
committed by John Ericson
parent c4ba2e3ef6
commit 459f1c60f5
6 changed files with 53 additions and 39 deletions
+2
View File
@@ -76,6 +76,7 @@ let
else lib.makeOverridable (import ../../build-support/cc-wrapper) {
nativeTools = false;
nativeLibc = false;
hostPlatform = localSystem;
targetPlatform = localSystem;
cc = prevStage.gcc-unwrapped;
isGNU = true;
@@ -240,6 +241,7 @@ in
nativeTools = false;
nativeLibc = false;
isGNU = true;
hostPlatform = localSystem;
targetPlatform = localSystem;
cc = prevStage.gcc-unwrapped;
libc = self.glibc;