From 459f1c60f5e53acb96123a7da8463d1e21093426 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Mon, 13 Feb 2017 18:01:04 -0500 Subject: cc-wrapper: Learn about target prefixes This is first step towards getting rid of gcc-wrapper-cross --- pkgs/stdenv/darwin/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/stdenv/darwin') diff --git a/pkgs/stdenv/darwin/default.nix b/pkgs/stdenv/darwin/default.nix index 1592426b6e39..bce332b67616 100644 --- a/pkgs/stdenv/darwin/default.nix +++ b/pkgs/stdenv/darwin/default.nix @@ -73,6 +73,7 @@ in rec { nativeTools = true; nativePrefix = bootstrapTools; nativeLibc = false; + hostPlatform = localSystem; targetPlatform = localSystem; libc = last.pkgs.darwin.Libsystem; isClang = true; @@ -296,6 +297,7 @@ in rec { inherit shell; nativeTools = false; nativeLibc = false; + hostPlatform = localSystem; targetPlatform = localSystem; inherit (pkgs) coreutils binutils gnugrep; inherit (pkgs.darwin) dyld; -- cgit 1.4.1