aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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