diff options
| author | Jack Nagel | 2014-05-08 17:10:08 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-05-08 17:24:48 -0500 | 
| commit | 314d5db225eeabc869272d09353b671aa1a79576 (patch) | |
| tree | c4fbcbd8e93654e8618a442f6196ecc40020dfb9 /Library | |
| parent | 1a5e42a03482d2ad1ff22458a7b19af6af23f56c (diff) | |
| download | homebrew-314d5db225eeabc869272d09353b671aa1a79576.tar.bz2 | |
Always use stub tools in /usr/bin on 10.9
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/ENV/4.3/xcrun | 1 | ||||
| -rw-r--r-- | Library/Homebrew/extend/ENV/super.rb | 4 | 
2 files changed, 5 insertions, 0 deletions
diff --git a/Library/ENV/4.3/xcrun b/Library/ENV/4.3/xcrun index a4d2beacf..7443cec17 100755 --- a/Library/ENV/4.3/xcrun +++ b/Library/ENV/4.3/xcrun @@ -15,6 +15,7 @@ arg0 = ARGV.shift  exe = "/usr/bin/#{arg0}"  if File.executable?(exe) +  exec(exe, *ARGV) if ENV["HOMEBREW_PREFER_CLT_PROXIES"]    sdkroot = ENV["HOMEBREW_SDKROOT"]    exec(exe, *ARGV) unless sdkroot && File.directory?(sdkroot)  end diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb index 76d26836b..a1e852f27 100644 --- a/Library/Homebrew/extend/ENV/super.rb +++ b/Library/Homebrew/extend/ENV/super.rb @@ -83,6 +83,10 @@ module Superenv      self['ACLOCAL_PATH'] = determine_aclocal_path      self['M4'] = MacOS.locate("m4") if deps.include? "autoconf" +    # On 10.9, the tools in /usr/bin proxy to the active developer directory. +    # This means we can use them for any combination of CLT and Xcode. +    self["HOMEBREW_PREFER_CLT_PROXIES"] = "1" if MacOS.version == "10.9" +      # The HOMEBREW_CCCFG ENV variable is used by the ENV/cc tool to control      # compiler flag stripping. It consists of a string of characters which act      # as flags. Some of these flags are mutually exclusive.  | 
