ENV.cc; returns the compiler we use
This commit is contained in:
parent
444e2e05fc
commit
7f56fe2532
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user