rename gcc-wrapper to cc-wrapper.

also makes cc-wrapper compatible with clang in the darwin fork.
This commit is contained in:
Eric Seidel
2015-01-14 20:26:56 -08:00
parent e38c351f2b
commit 48f63c2f2e
17 changed files with 146 additions and 127 deletions
+4 -4
View File
@@ -13,13 +13,13 @@ import ../generic rec {
system = stdenv.system;
gcc = import ../../build-support/gcc-wrapper {
cc = import ../../build-support/cc-wrapper {
nativeTools = false;
nativePrefix = stdenv.lib.optionalString stdenv.isSunOS "/usr";
nativeLibc = true;
inherit stdenv;
binutils = pkgs.binutils;
gcc = pkgs.gcc.gcc;
cc = pkgs.gcc.cc;
coreutils = pkgs.coreutils;
shell = pkgs.bash + "/bin/sh";
};
@@ -29,8 +29,8 @@ import ../generic rec {
fetchurlBoot = stdenv.fetchurlBoot;
overrides = pkgs_: {
inherit gcc;
inherit (gcc) binutils;
inherit cc;
inherit (cc) binutils;
inherit (pkgs)
gzip bzip2 xz bash coreutils diffutils findutils gawk
gnumake gnused gnutar gnugrep gnupatch perl;