diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-01 16:17:23 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-08-09 12:44:50 +0200 |
commit | 15103e5e5fb01556e9c5758ef99d7e7f5d0f7699 (patch) | |
tree | 60703d89736b62590f620995e4bca23315104e75 /pkgs/build-support/gcc-wrapper | |
parent | 9f822e5477bc32b77af39b5bf8cf50b56b97c196 (diff) |
stdenv: Remove the special handling of gcc
Now gcc is just another build input, making it possible in the future to have a stdenv that doesn't depend on a C compiler. This is very useful on NixOS, since it would allow trivial builders like writeTextFile to work without pulling in the C compiler.
Diffstat (limited to 'pkgs/build-support/gcc-wrapper')
-rw-r--r-- | pkgs/build-support/gcc-wrapper/setup-hook.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/gcc-wrapper/setup-hook.sh b/pkgs/build-support/gcc-wrapper/setup-hook.sh index 298ade21d1f59..ea762e9b40508 100644 --- a/pkgs/build-support/gcc-wrapper/setup-hook.sh +++ b/pkgs/build-support/gcc-wrapper/setup-hook.sh @@ -1,3 +1,5 @@ +export NIX_GCC=@out@ + addCVars () { if test -d $1/include; then export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem $1/include" |