From ce48366ab16c5f58e6fff3e96d59451a7cd1f47b Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 3 Sep 2013 10:06:55 -0500 Subject: [PATCH] ENV: use cc accessor --- Library/Homebrew/extend/ENV/std.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/ENV/std.rb b/Library/Homebrew/extend/ENV/std.rb index e931b33ba1..b45e34ccce 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