audit: do not complain about --32-bit

This commit is contained in:
Adam Vandenberg 2012-01-02 14:58:15 -08:00
parent 28a00a2c09
commit 198135e8c0

View File

@ -170,6 +170,7 @@ def audit_formula_options f, text
if documented_options.length > 0 if documented_options.length > 0
documented_options.each do |o| documented_options.each do |o|
next if o == '--universal' and text =~ /ARGV\.build_universal\?/ next if o == '--universal' and text =~ /ARGV\.build_universal\?/
next if o == '--32-bit' and text =~ /ARGV\.build_32_bit\?/
problems << " * Option #{o} is unused" unless options.include? o problems << " * Option #{o} is unused" unless options.include? o
end end
end end