aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-09-03 10:06:55 -0500
committerJack Nagel2013-09-03 10:06:55 -0500
commitce48366ab16c5f58e6fff3e96d59451a7cd1f47b (patch)
treec6ba191c0a465726f8174a147eac8e5faf18eb30 /Library
parent576f08a8ebdac51990866b21d5ba3d40274a6547 (diff)
downloadbrew-ce48366ab16c5f58e6fff3e96d59451a7cd1f47b.tar.bz2
ENV: use cc accessor
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ENV/std.rb2
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