clang can be built with stdenv now

svn path=/nixpkgs/trunk/; revision=33517
This commit is contained in:
Shea Levy 2012-04-01 14:17:27 +00:00
parent f5a502b714
commit 0264a886c7

View File

@ -1694,13 +1694,7 @@ let
ccl = builderDefsPackage ../development/compilers/ccl {};
clangUnwrapped = callPackage ../development/compilers/llvm/clang.nix {
# There is a bug in gcc-4.5 that prevents building a release build of
# clang-3.0
stdenv = if stdenv.isLinux
then (stdenvAdapters.overrideGCC stdenv gcc46)
else stdenv;
};
clangUnwrapped = callPackage ../development/compilers/llvm/clang.nix { };
clang = wrapClang clangUnwrapped;