Skip to content
Snippets Groups Projects
Commit d1aac6bc authored by José Martínez's avatar José Martínez Committed by Adam Vandenberg
Browse files

Allow --use-clang to override fails_with_llvm

parent 2763fc6f
No related branches found
No related tags found
No related merge requests found
......@@ -301,7 +301,7 @@ class Formula
end
def handle_llvm_failure llvm
unless (ENV['HOMEBREW_USE_LLVM'] or ARGV.include? '--use-llvm')
unless (ENV['HOMEBREW_USE_LLVM'] or ARGV.include? '--use-llvm' or ARGV.include? '--use-clang')
ENV.gcc_4_2 if default_cc =~ /llvm/
return
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment