diff options
| author | Mike McQuaid | 2016-12-31 22:43:42 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2016-12-31 22:44:05 +0000 |
| commit | f0fbcf5022b13dc613f7acfca4fcf87894bd8a2a (patch) | |
| tree | 4a0108005bfaf50724c0f59886485e74e4f27ce0 | |
| parent | ad593cf42cfcd4bb795b457d6787cf89382017d8 (diff) | |
| download | brew-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.rb | 3 |
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 |
