aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-08-19 12:34:13 -0500
committerJack Nagel2013-08-19 12:34:14 -0500
commitccf8f2789b37d4685ca887ecf72b8b723b495266 (patch)
treeb5f8e78c02b810e1074583cd64d52544694117d8 /Library
parentfe1032b6694152fdcbd68c6b452138bc87be1722 (diff)
downloadhomebrew-ccf8f2789b37d4685ca887ecf72b8b723b495266.tar.bz2
Remove ENV.expand_xcrun
This method is currently unused and after inspecting the git history, it appears it may never have been used at all.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ENV/std.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/Library/Homebrew/extend/ENV/std.rb b/Library/Homebrew/extend/ENV/std.rb
index 0bc9cbf97..24007a46d 100644
--- a/Library/Homebrew/extend/ENV/std.rb
+++ b/Library/Homebrew/extend/ENV/std.rb
@@ -138,16 +138,6 @@ module Stdenv
end
alias_method :gcc_4_0, :gcc_4_0_1
- # if your formula doesn't like CC having spaces use this
- def expand_xcrun
- self['CC'] =~ %r{/usr/bin/xcrun (.*)}
- self['CC'] = `/usr/bin/xcrun -find #{$1}`.chomp if $1
- self['CXX'] =~ %r{/usr/bin/xcrun (.*)}
- self['CXX'] = `/usr/bin/xcrun -find #{$1}`.chomp if $1
- self['OBJC'] = self['CC']
- self['OBJCXX'] = self['CXX']
- end
-
def gcc
# Apple stopped shipping gcc-4.2 with Xcode 4.2
# However they still provide a gcc symlink to llvm