Build from source when we've options or 10.5.
This commit is contained in:
parent
f2e018d747
commit
2495cdc544
@ -64,7 +64,10 @@ module HomebrewArgvExtension
|
||||
end
|
||||
|
||||
def build_from_source?
|
||||
flag? '--build-from-source' or ENV['HOMEBREW_BUILD_FROM_SOURCE']
|
||||
return true if flag? '--build-from-source' or ENV['HOMEBREW_BUILD_FROM_SOURCE'] or MacOS.leopard?
|
||||
options = options_only
|
||||
options.delete '--universal'
|
||||
not options.empty?
|
||||
end
|
||||
|
||||
def flag? flag
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user