From 5dc302604f44fe5fbfb3efef1e7af1a21411e21f Mon Sep 17 00:00:00 2001 From: Max Howell Date: Tue, 6 Sep 2011 17:11:33 +0100 Subject: [PATCH] MacOS.default_compiler should return something always MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Even though we are just guessing if it doesn't correspond to any of the others… --- Library/Homebrew/utils.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index cc146222b9..cd3a5fa49c 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