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

Check value of compiler rather than HOMEBREW_CC

parent 2716ed6d
No related branches found
No related tags found
No related merge requests found
......@@ -278,15 +278,11 @@ module Superenv
end
def libcxx
if self['HOMEBREW_CC'] == 'clang'
append 'HOMEBREW_CCCFG', "g", ''
end
append "HOMEBREW_CCCFG", "g", "" if compiler == :clang
end
def libstdcxx
if self['HOMEBREW_CC'] == 'clang'
append 'HOMEBREW_CCCFG', "h", ''
end
append "HOMEBREW_CCCFG", "h", "" if compiler == :clang
end
def refurbish_args
......
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