aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-03-16 20:58:12 -0700
committerAdam Vandenberg2010-03-16 20:58:12 -0700
commit9afb7a32f95e56a7ac2abe5cb6a1d0768d4bb06a (patch)
tree630ad90e90b62f22654d4abd4771dc4a5f32aef1 /Library
parent74fa194401b430dd19e6e5aa2ce9f90b54722f1b (diff)
downloadhomebrew-9afb7a32f95e56a7ac2abe5cb6a1d0768d4bb06a.tar.bz2
Move recommended compiler versions into constants.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/global.rb5
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