ENV.cc; returns the compiler we use

This commit is contained in:
Max Howell 2009-09-21 23:50:57 +01:00
parent 444e2e05fc
commit 7f56fe2532

View File

@ -143,6 +143,10 @@ module HomebrewEnvExtension
def enable_warnings
remove_from_cflags '-w'
end
# returns the compiler we're using
def cc
ENV['CC'] or "gcc"
end
private
def append key, value