From f0fbcf5022b13dc613f7acfca4fcf87894bd8a2a Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 31 Dec 2016 22:43:42 +0000 Subject: [PATCH] ENV/super: fix set_cpu_flags stub. It should accept arguments. Fixes https://github.com/Homebrew/homebrew-core/issues/8362 --- Library/Homebrew/extend/ENV/super.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb index 7503e88768..39ddb66819 100644 --- a/Library/Homebrew/extend/ENV/super.rb +++ b/Library/Homebrew/extend/ENV/super.rb @@ -328,7 +328,8 @@ module Superenv # This method does nothing in superenv since there's no custom CFLAGS API # @private - def set_cpu_flags; end + def set_cpu_flags(*_args) + end end class Array