aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-12-30 15:51:38 +0000
committerGitHub2016-12-30 15:51:38 +0000
commit340000ce87b89a9ab605b50edc42fd0753e3e5ba (patch)
tree74ef2aed89eaa42a37283c924363a8e5d3f23c77 /Library
parent4ca2eaf8dfd0e6cac169a61e1b786f074c942b1d (diff)
parente4497a2b4261c0d89de6c016aa5f8d89967a80d4 (diff)
downloadbrew-340000ce87b89a9ab605b50edc42fd0753e3e5ba.tar.bz2
Merge pull request #1746 from MikeMcQuaid/always-filter-flags-deps
cc: always filter flags on deps.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/shims/super/cc9
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 = []