aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2014-05-19 10:37:45 -0500
committerJack Nagel2014-05-19 10:37:45 -0500
commitf6fda5651bb08a60cd943c14aa08fadaebdd9a3f (patch)
tree63779df048348e31f38e2739edb2f65a524566ff /Library/Homebrew/cmd
parent4676045bddd8c9adfb21688e5b0401030697bbf7 (diff)
downloadbrew-f6fda5651bb08a60cd943c14aa08fadaebdd9a3f.tar.bz2
Remove deprecated --use-{gcc,llvm,clang}
Closes Homebrew/homebrew#29380.
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/install.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index 2308723dc..cf652b17a 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -6,19 +6,6 @@ module Homebrew extend self
def install
raise FormulaUnspecifiedError if ARGV.named.empty?
- {
- 'gcc' => 'gcc-4.2',
- 'llvm' => 'llvm-gcc',
- 'clang' => 'clang'
- }.each_pair do |old, new|
- opt = "--use-#{old}"
- if ARGV.include? opt then opoo <<-EOS.undent
- #{opt.inspect} is deprecated and will be removed in a future version.
- Please use "--cc=#{new}" instead.
- EOS
- end
- end
-
if ARGV.include? '--head'
raise "Specify `--HEAD` in uppercase to build from trunk."
end