diff options
| author | Jack Nagel | 2014-05-13 16:22:57 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-13 16:22:57 -0500 |
| commit | 07aa3093001b58a40eab100b1ffa99a097850337 (patch) | |
| tree | 9e8b9a42647d2feb6af1701b14ada0216ef1e896 /Library | |
| parent | a76491e6a4e1efe4d87667e8a1dda111855cce80 (diff) | |
| download | homebrew-07aa3093001b58a40eab100b1ffa99a097850337.tar.bz2 | |
Check value of compiler rather than HOMEBREW_CC
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/ENV/super.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb index c976d55a5..20b4a3e6c 100644 --- a/Library/Homebrew/extend/ENV/super.rb +++ b/Library/Homebrew/extend/ENV/super.rb @@ -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 |
