aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
authorMax Howell2011-09-06 17:11:33 +0100
committerMax Howell2011-09-06 17:12:26 +0100
commit44196242fa9193d8318abc8b7a2a40fa6a9edbc5 (patch)
tree3b9d116debd7706b9a90a17c5e87be62da36d6c8 /Library/Homebrew/utils.rb
parentd5fbf804a74229f2adae5dea5eaa540c0eebe7e1 (diff)
downloadhomebrew-44196242fa9193d8318abc8b7a2a40fa6a9edbc5.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/Homebrew/utils.rb')
-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