From f98304026bcb3bc68b47210f2434e09683987363 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 20 Dec 2016 10:22:30 +0000 Subject: Deprecate 32-bit options. These were formerly supported but as it has been a very long time since 32-bit software was necessary on macOS these have been deprecated with a `brew audit` warning and a future `odeprecated`. --- Library/Homebrew/dev-cmd/audit.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Library/Homebrew/dev-cmd') diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 0112c524f..5545a3d36 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -448,8 +448,13 @@ class FormulaAuditor def audit_options formula.options.each do |o| + if o.name != "32-bit" + problem "macOS has been 64-bit only since 10.6 so 32-bit options are deprecated." + end + next unless @strict - if o.name !~ /with(out)?-/ && o.name != "c++11" && o.name != "universal" && o.name != "32-bit" + + if o.name !~ /with(out)?-/ && o.name != "c++11" && o.name != "universal" problem "Options should begin with with/without. Migrate '--#{o.name}' with `deprecated_option`." end -- cgit v1.2.3