aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/compat/fails_with_llvm.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Homebrew/compat/fails_with_llvm.rb b/Library/Homebrew/compat/fails_with_llvm.rb
index 2c7df721d..4e8b94b03 100644
--- a/Library/Homebrew/compat/fails_with_llvm.rb
+++ b/Library/Homebrew/compat/fails_with_llvm.rb
@@ -1,11 +1,9 @@
class Formula
def fails_with_llvm(_msg = nil, _data = nil)
- opoo "Calling fails_with_llvm in the install method is deprecated"
- puts "Use the fails_with DSL instead"
+ odeprecated "Formula#fails_with_llvm in install"
end
- def self.fails_with_llvm(msg = nil, data = {})
- data = msg if Hash === msg
- fails_with(:llvm) { build(data.delete(:build).to_i) }
+ def self.fails_with_llvm(_msg = nil, _data = {})
+ odeprecated "Formula.fails_with_llvm"
end
end