diff options
author | John Ericson <Ericson2314@Yahoo.com> | 2017-02-13 18:01:04 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-06-22 17:52:27 -0400 |
commit | 459f1c60f5e53acb96123a7da8463d1e21093426 (patch) | |
tree | 06e08a7d7f100469d611b689e7e4cfeb05b01ae4 /pkgs/stdenv/linux | |
parent | c4ba2e3ef691c349bcce2b1e8b76a0bcd253544c (diff) | |
download | nixlib-459f1c60f5e53acb96123a7da8463d1e21093426.tar nixlib-459f1c60f5e53acb96123a7da8463d1e21093426.tar.gz nixlib-459f1c60f5e53acb96123a7da8463d1e21093426.tar.bz2 nixlib-459f1c60f5e53acb96123a7da8463d1e21093426.tar.lz nixlib-459f1c60f5e53acb96123a7da8463d1e21093426.tar.xz nixlib-459f1c60f5e53acb96123a7da8463d1e21093426.tar.zst nixlib-459f1c60f5e53acb96123a7da8463d1e21093426.zip |
cc-wrapper: Learn about target prefixes
This is first step towards getting rid of gcc-wrapper-cross
Diffstat (limited to 'pkgs/stdenv/linux')
-rw-r--r-- | pkgs/stdenv/linux/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index b23d1cd01737..b116a48a2bd6 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -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; |