diff options
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index ce9bf5291..f41450be1 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -40,11 +40,7 @@ module Homebrew # if the user's flags will prevent bottle only-installations when no # developer tools are available, we need to stop them early on - if !MacOS.can_build? - bf = ARGV.collect_build_flags - - raise BuildFlagsError.new(bf) if !bf.empty? - end + FormulaInstaller.prevent_build_flags unless MacOS.can_build? ARGV.formulae.each do |f| # head-only without --HEAD is an error |
