Observe all applicable options in handle_llvm_failure
This commit is contained in:
parent
39453f5a9d
commit
4dc8318dc3
@ -305,8 +305,8 @@ class Formula
|
|||||||
end
|
end
|
||||||
|
|
||||||
def handle_llvm_failure llvm
|
def handle_llvm_failure llvm
|
||||||
unless (ENV['HOMEBREW_USE_LLVM'] or ARGV.include? '--use-llvm' or ARGV.include? '--use-clang')
|
unless ENV.use_llvm? or ENV.use_clang?
|
||||||
ENV.gcc_4_2 if default_cc =~ /llvm/
|
ENV.gcc_4_2 if MacOS.default_cc =~ /llvm/
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user