diff options
| author | Jack Nagel | 2014-06-22 15:23:16 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-22 15:23:16 -0500 |
| commit | 202f6a071eba29773ce57e672be29510912696c2 (patch) | |
| tree | 14bdfa7674a4708a82c883fc69458099c1f549bc /Library/Formula | |
| parent | f7b71472fe139f6351af9871a889c78f9e13a1c5 (diff) | |
| download | homebrew-202f6a071eba29773ce57e672be29510912696c2.tar.bz2 | |
wine: move compiler warning into fails_with
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/wine.rb | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb index a272da61d..36676ab0a 100644 --- a/Library/Formula/wine.rb +++ b/Library/Formula/wine.rb @@ -72,8 +72,8 @@ class Wine < Formula end fails_with :clang do - build 421 - cause 'error: invalid operand for instruction lretw' + build 425 + cause "Clang prior to Xcode 5 miscompiles some parts of wine" end # These libraries are not specified as dependencies, or not built as 32-bit: @@ -103,15 +103,6 @@ class Wine < Formula ENV.append "CFLAGS", build32 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 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 --cc=gcc-4.2 # or 4.7, 4.8, etc. - EOS - end - args = ["--prefix=#{prefix}"] args << "--disable-win16" if MacOS.version <= :leopard or ENV.compiler == :clang |
