diff options
| author | Mike McQuaid | 2017-02-27 13:41:30 +0000 |
|---|---|---|
| committer | GitHub | 2017-02-27 13:41:30 +0000 |
| commit | 86a9434dfca592439a061c3efe3e434e94dfb42d (patch) | |
| tree | c42c3c3756efeff0505ef3c7fd4b93749c86be06 /Library | |
| parent | 0dfe85df1376097ae966f6d710df716ad9a38ff2 (diff) | |
| download | brew-86a9434dfca592439a061c3efe3e434e94dfb42d.tar.bz2 | |
Revert "Revert "cc: always filter flags on deps.""
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/shims/super/cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Library/Homebrew/shims/super/cc b/Library/Homebrew/shims/super/cc index b0ea705e8..1400788ba 100755 --- a/Library/Homebrew/shims/super/cc +++ b/Library/Homebrew/shims/super/cc @@ -206,10 +206,6 @@ class Cmd end def keep?(path) - # The logic in this method will eventually become the default, - # but is currently opt-in. - return keep_orig?(path) unless ENV["HOMEBREW_EXPERIMENTAL_FILTER_FLAGS_ON_DEPS"] - # Allow references to self if formula_prefix && path.start_with?("#{formula_prefix}/") true @@ -226,11 +222,6 @@ class Cmd end end - # The original less-smart version of keep_orig; will eventually be removed - def keep_orig?(path) - path.start_with?(prefix, cellar, tmpdir) || !path.start_with?("/opt/local", "/opt/boxen/homebrew", "/opt/X11", "/sw", "/usr/X11") - end - def cflags args = [] |
