aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMax Howell2012-08-29 15:19:42 -0400
committerMax Howell2012-08-29 15:19:42 -0400
commita7946e0088185ff852babc657d5ccf1b57851575 (patch)
treeb3382fbbffedaeda96c20301a1546456ef858b70 /Library/Homebrew
parent466a240bbe366d994020aab624e742aac834aebf (diff)
downloadbrew-a7946e0088185ff852babc657d5ccf1b57851575.tar.bz2
Warn about removed warnings less shockingly
The problem here now is though that the warnings only appear when compiling verbosely. But they should thus be visible if the build fails. Or if people are hunting for problems.
Diffstat (limited to 'Library/Homebrew')
-rwxr-xr-xLibrary/Homebrew/build.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb
index dc94cf738..97365a203 100755
--- a/Library/Homebrew/build.rb
+++ b/Library/Homebrew/build.rb
@@ -85,14 +85,6 @@ def install f
ENV.deps = keg_only_deps.map(&:to_s)
ENV.x11 = f.requirements.detect{|rq| rq.class == X11Dependency }
ENV.setup_build_environment
- class << ENV
- def []=(key, value)
- case key when 'CFLAGS', 'CPPFLAGS', 'LDFAGS'
- opoo "#{key} set with --env=super! Flags may not take effect!"
- end
- store(key, value)
- end
- end
end
f.recursive_requirements.each { |req| req.modify_build_environment }