aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/mac/xcode.rb
diff options
context:
space:
mode:
authorMisty De Meo2013-08-24 14:03:16 -0700
committerMisty De Meo2013-08-30 07:52:13 -0700
commit7e1af4b7d550097bd48c0788e9386ee6607ef76c (patch)
tree2efece0a4bf1b606ff61b86ac4744cd60716623a /Library/Homebrew/os/mac/xcode.rb
parent221bb2419f117c820dc235785981b12543836b7e (diff)
downloadbrew-7e1af4b7d550097bd48c0788e9386ee6607ef76c.tar.bz2
Unify compiler selection logic
This unifies the logic for selecting a compiler between superenv and stdenv. A variation of superenv's `determine_cc`, which now returns a symbol, has been moved into the shared ENV extension. Stdenv uses the result of this directly (as it's always used symbols), while superenv translates that back into a compiler string. This also has the effect of disabling HOMEBREW_USE_(gcc|llvm|clang) in stdenv, which have already been marked as deprecated for some time, and enables the HOMEBREW_CC= environment variable syntax from superenv in stdenv.
Diffstat (limited to 'Library/Homebrew/os/mac/xcode.rb')
0 files changed, 0 insertions, 0 deletions