Check value of compiler rather than HOMEBREW_CC
This commit is contained in:
parent
2716ed6d26
commit
cb873d0833
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user