aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2016-12-31 22:43:42 +0000
committerMike McQuaid2016-12-31 22:44:05 +0000
commitf0fbcf5022b13dc613f7acfca4fcf87894bd8a2a (patch)
tree4a0108005bfaf50724c0f59886485e74e4f27ce0
parentad593cf42cfcd4bb795b457d6787cf89382017d8 (diff)
downloadbrew-f0fbcf5022b13dc613f7acfca4fcf87894bd8a2a.tar.bz2
ENV/super: fix set_cpu_flags stub.
It should accept arguments. Fixes https://github.com/Homebrew/homebrew-core/issues/8362
-rw-r--r--Library/Homebrew/extend/ENV/super.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb
index 7503e8876..39ddb6681 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