diff options
| author | Adam Vandenberg | 2010-03-16 20:58:12 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-03-16 20:58:12 -0700 |
| commit | 3825535310233ffe75eff39839d4f391940731e3 (patch) | |
| tree | ea1ba53ece185542d8657e25f7e418fdb3e76196 /Library | |
| parent | ca313defe4658d16c003871ef63784fe0b7d1d49 (diff) | |
| download | brew-3825535310233ffe75eff39839d4f391940731e3.tar.bz2 | |
Move recommended compiler versions into constants.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/global.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 4e8ae2810..c1c4df807 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -38,6 +38,11 @@ MACOS_VERSION = /(10\.\d+)(\.\d+)?/.match(MACOS_FULL_VERSION).captures.first.to_ HOMEBREW_USER_AGENT = "Homebrew #{HOMEBREW_VERSION} (Ruby #{RUBY_VERSION}-#{RUBY_PATCHLEVEL}; Mac OS X #{MACOS_FULL_VERSION})" +RECOMMENDED_LLVM = 2206 +RECOMMENDED_GCC_40 = 5493 +RECOMMENDED_GCC_42 = (MACOS_VERSION >= 10.6) ? 5646 : 5577 + + class ExecutionError <RuntimeError attr :exit_status |
