aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-11-03 11:45:26 -0600
committerJack Nagel2013-11-03 15:27:06 -0600
commit69605680220de2b75f89d0b5c76f2e03344fd3fa (patch)
tree567302a7458daf8a32520e8fccfc74b50a3b9e13 /Library
parentb7124ba7ecb4be72c988deb01c4b301791db47cb (diff)
downloadhomebrew-69605680220de2b75f89d0b5c76f2e03344fd3fa.tar.bz2
wine: update older clang warning
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/wine.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb
index a213be9db..ed028d628 100644
--- a/Library/Formula/wine.rb
+++ b/Library/Formula/wine.rb
@@ -98,11 +98,11 @@ class Wine < Formula
ENV.append "LDFLAGS", build32
# The clang that comes with Xcode 5 no longer miscompiles wine. Tested with 1.7.3.
- if ENV.compiler == :clang and Compiler.new(:clang).build < 500
+ if ENV.compiler == :clang and MacOS.clang_build_version < 500
opoo <<-EOS.undent
- Clang currently miscompiles some parts of Wine. If you have gcc, you
- can get a more stable build with:
- brew install wine --use-gcc
+ Clang currently miscompiles some parts of Wine.
+ If you have GCC, you can get a more stable build with:
+ brew install wine --cc=gcc-4.2 # or 4.7, 4.8, etc.
EOS
end