aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2011-09-06 17:11:33 +0100
committerMax Howell2011-09-06 17:12:26 +0100
commit5dc302604f44fe5fbfb3efef1e7af1a21411e21f (patch)
treef6594dc004e7078009b0878ac36ed86adfd3df0c /Library
parent06795b8953044966dd8eed5557039903d2f835c7 (diff)
downloadbrew-5dc302604f44fe5fbfb3efef1e7af1a21411e21f.tar.bz2
MacOS.default_compiler should return something always
Even though we are just guessing if it doesn't correspond to any of the others…
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/utils.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index cc146222b..cd3a5fa49 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -251,6 +251,7 @@ module MacOS extend self
when /^gcc/ then :gcc
when /^llvm/ then :llvm
when "clang" then :clang
+ else :gcc # a hack, but a sensible one prolly
end
end