diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index b6d7dbd2a2..e9465d968f 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -1185,7 +1185,7 @@ class FormulaAuditor problem "'fails_with :llvm' is now a no-op so should be removed" end - if line =~ /system\s+['"](otool)|(install_name_tool)|(lipo)/ + if line =~ /system\s+['"](otool|install_name_tool|lipo)/ && formula.name != "cctools" problem "Use ruby-macho instead of calling #{$1}" end