From 69605680220de2b75f89d0b5c76f2e03344fd3fa Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 3 Nov 2013 11:45:26 -0600 Subject: wine: update older clang warning --- Library/Formula/wine.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3