audit (strict): whitelist 32-bit in options check.

This commit is contained in:
Mike McQuaid 2014-12-27 15:57:11 +00:00
parent 5cd8f62865
commit d263c73cc4

View File

@ -173,7 +173,7 @@ class FormulaAuditor
def audit_options
formula.options.each do |o|
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`."
end
end