diff options
| author | Jack Nagel | 2013-09-03 10:06:55 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-09-03 10:06:55 -0500 |
| commit | ce48366ab16c5f58e6fff3e96d59451a7cd1f47b (patch) | |
| tree | c6ba191c0a465726f8174a147eac8e5faf18eb30 /Library/Homebrew | |
| parent | 576f08a8ebdac51990866b21d5ba3d40274a6547 (diff) | |
| download | brew-ce48366ab16c5f58e6fff3e96d59451a7cd1f47b.tar.bz2 | |
ENV: use cc accessor
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/extend/ENV/std.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV/std.rb b/Library/Homebrew/extend/ENV/std.rb index e931b33ba..b45e34ccc 100644 --- a/Library/Homebrew/extend/ENV/std.rb +++ b/Library/Homebrew/extend/ENV/std.rb @@ -68,7 +68,7 @@ module Stdenv self.cxx = MacOS.locate("c++") end - if self['CC'] =~ GNU_GCC_REGEXP + if cc =~ GNU_GCC_REGEXP warn_about_non_apple_gcc($1) end |
