Check value of compiler rather than HOMEBREW_CC

This commit is contained in:
Jack Nagel 2014-05-13 16:22:57 -05:00
parent 2716ed6d26
commit cb873d0833

View File

@ -278,15 +278,11 @@ module Superenv
end end
def libcxx def libcxx
if self['HOMEBREW_CC'] == 'clang' append "HOMEBREW_CCCFG", "g", "" if compiler == :clang
append 'HOMEBREW_CCCFG', "g", ''
end
end end
def libstdcxx def libstdcxx
if self['HOMEBREW_CC'] == 'clang' append "HOMEBREW_CCCFG", "h", "" if compiler == :clang
append 'HOMEBREW_CCCFG', "h", ''
end
end end
def refurbish_args def refurbish_args