Skip to content
Snippets Groups Projects
Commit 2d049ae0 authored by Jack Nagel's avatar Jack Nagel
Browse files

Stop using superenv? method to dump ENV

parent 25e6c6f1
No related branches found
No related tags found
No related merge requests found
......@@ -35,9 +35,13 @@ module Homebrew extend self
end
def dump_build_env env
build_env_keys(env).each do |key|
next if superenv? and %w{CC CXX OBJC OBJCXX}.include? key
keys = build_env_keys(env)
if env["CC"] == env["HOMEBREW_CC"]
%w[CC CXX OBJC OBJCXX].each { |key| keys.delete(key) }
end
keys.each do |key|
value = env[key]
print "#{key}: #{value}"
case key
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment