ENV: use cc accessor

This commit is contained in:
Jack Nagel 2013-09-03 10:06:55 -05:00
parent 576f08a8eb
commit ce48366ab1

View File

@ -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