diff options
| author | Charlie Sharpsteen | 2011-10-25 11:55:09 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-12-03 12:33:02 -0800 |
| commit | ec7178061207cfc66f17f0137e41297a1a856de5 (patch) | |
| tree | 34f418725cd4c2cb4d415f845e837019a601eab6 /Library | |
| parent | ea4d1f6b7ba151f6c08a7193a8a0c4d500ae6a0c (diff) | |
| download | brew-ec7178061207cfc66f17f0137e41297a1a856de5.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>
Diffstat (limited to 'Library')
| -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 |
