diff options
| author | Adam Vandenberg | 2010-08-09 21:33:30 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-09 21:33:30 -0700 |
| commit | 0ee5096a2b0d9677ebf64d0f9e88ff954f7465a7 (patch) | |
| tree | 7a943d5885e5c023af19f8f8ffe041d64a2d2465 /Library | |
| parent | 88c03ff2ea590fcaae6f867b8fa31891b62f1780 (diff) | |
| download | homebrew-0ee5096a2b0d9677ebf64d0f9e88ff954f7465a7.tar.bz2 | |
fails_with_llvm will switch to GCC 4.2 by default
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 44fb96e69..0e6d6ddd3 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -291,6 +291,16 @@ class Formula opoo "LLVM was requested, but this formula is reported as not working with LLVM:" puts msg puts "Tested with LLVM build #{build}" unless build == nil + puts + + if ARGV.force? + puts "Continuing anyway. If this works, let us know so we can update the\n"+ + "formula to remove the warning." + else + puts "Continuing with GCC 4.2 instead.\n"+ + "(Use `brew install --force ...` to force use of LLVM.)" + ENV.gcc_4_2 + end end protected |
