diff --git a/Library/Homebrew/extend/ENV/std.rb b/Library/Homebrew/extend/ENV/std.rb index 0bc9cbf976..24007a46d3 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