aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-12-27 15:57:11 +0000
committerMike McQuaid2014-12-27 16:31:43 +0000
commitd263c73cc4d48f203d97ae885a21d5547744042c (patch)
treea85848632c65929e0479a21f0d7d1167836aa9fc /Library
parent5cd8f62865c6c700ca31042985b923147fc1b03e (diff)
downloadbrew-d263c73cc4d48f203d97ae885a21d5547744042c.tar.bz2
audit (strict): whitelist 32-bit in options check.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 88bddaf63..69efcaf83 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -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