audit (strict): whitelist 32-bit in options check.
This commit is contained in:
parent
5cd8f62865
commit
d263c73cc4
@ -173,7 +173,7 @@ class FormulaAuditor
|
|||||||
def audit_options
|
def audit_options
|
||||||
formula.options.each do |o|
|
formula.options.each do |o|
|
||||||
next unless @strict
|
next unless @strict
|
||||||
if o.name !~ /with(out)?-/ && o.name != "c++11" && o.name != "universal"
|
if o.name !~ /with(out)?-/ && o.name != "c++11" && o.name != "universal" && o.name != "32-bit"
|
||||||
problem "Options should begin with with/without. Migrate '--#{o.name}' with `deprecated_option`."
|
problem "Options should begin with with/without. Migrate '--#{o.name}' with `deprecated_option`."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user