diff options
| author | Charlie Sharpsteen | 2011-10-25 11:55:09 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-12-03 12:33:02 -0800 |
| commit | 9b6b9af73a5e1fc7cc76de479d65bfad3817e914 (patch) | |
| tree | cafb1567cd4d1af6670c653c75994f0bc6606f22 | |
| parent | 67a2615bf242f244bc161d537055470b3fdc5663 (diff) | |
| download | homebrew-9b6b9af73a5e1fc7cc76de479d65bfad3817e914.tar.bz2 | |
formula.rb: Change fails_with_llvm for XCode 4.2
Suggest trying `--use-clang` instead of `--use-gcc` (which does nothing).
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Homebrew/formula.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 9609e608e..2609c1315 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -351,7 +351,11 @@ class Formula that we can update the formula accordingly. Thanks! EOS puts - puts "If it doesn't work you can: brew install --use-gcc" + if xcode_version < "4.2" + puts "If it doesn't work you can: brew install --use-gcc" + else + puts "If it doesn't work you can try: brew install --use-clang" + end puts end end |
