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