aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/ENV/shared.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb
index eb87efc9e..743c36fce 100644
--- a/Library/Homebrew/extend/ENV/shared.rb
+++ b/Library/Homebrew/extend/ENV/shared.rb
@@ -91,16 +91,6 @@ module SharedEnvExtension
raise "Invalid value for --cc: #{other}"
end
end
- elsif ARGV.include? '--use-gcc'
- if MacOS.locate("gcc-4.2") || HOMEBREW_PREFIX.join("opt/apple-gcc42/bin/gcc-4.2").exist?
- :gcc
- else
- raise "gcc-4.2 not found!"
- end
- elsif ARGV.include? '--use-llvm'
- :llvm
- elsif ARGV.include? '--use-clang'
- :clang
elsif homebrew_cc
cc = COMPILER_ALIASES.fetch(homebrew_cc, homebrew_cc)
COMPILER_SYMBOL_MAP.fetch(cc) { MacOS.default_compiler }