From 67d05fa3d124b7a373c1442b7ba24ea6fe53df1b Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 19 May 2014 10:37:45 -0500 Subject: Remove deprecated --use-{gcc,llvm,clang} Closes #29380. --- Library/Homebrew/cmd/install.rb | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'Library/Homebrew/cmd') 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 -- cgit v1.2.3