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
commitcec8d742399aa8bfa96118cfb6d788489191cebf (patch)
tree45afbddee32d3fc85fbd17441ec4272e9ff46245 /Library
parenta6771cd32751b7af3a280ae69a6f2e49d51ef0d5 (diff)
downloadbrew-cec8d742399aa8bfa96118cfb6d788489191cebf.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