diff options
| author | Max Howell | 2011-08-31 17:50:39 +0100 |
|---|---|---|
| committer | Max Howell | 2011-09-02 12:12:20 +0100 |
| commit | a0763dfc2c2e95a19c8e1789ad8f4d25710f3029 (patch) | |
| tree | 7908cadd1c84764863e79ac64d44eac43cb18458 /Library/Homebrew/utils.rb | |
| parent | 23dbe43fb799c597343d5c328e938f7384514a02 (diff) | |
| download | brew-a0763dfc2c2e95a19c8e1789ad8f4d25710f3029.tar.bz2 | |
Remove Xcode dependence from ENV.rb
Fixes Homebrew/homebrew#7329.
Fixes Homebrew/homebrew#7269.
Fixes Homebrew/homebrew#7236.
Also quite a lot of tidy. This should all work fine.
I think we only started referring into xcode_prefix because LLVM used to not
be linked into /usr/bin. But for sure this is no longer true. If someone out
there doesn't link cc etc. into /usr/bin then I guess we can revise this patch
but it's not something we officially supported before, it was just an
accident.
I added a test step in the init code so that a working compiler will always be
selected. This is mainly a fallback for old Xcodes. Though a comment in
another area of the code suggested Xcode 3 on 10.5 doesn't have LLVM so…
Diffstat (limited to 'Library/Homebrew/utils.rb')
0 files changed, 0 insertions, 0 deletions
