diff options
| author | Adam Vandenberg | 2013-08-02 11:36:10 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-08-03 10:07:39 -0700 |
| commit | 7b4151633fde2577c91b335b60c0069b20318182 (patch) | |
| tree | 6e8a43f9beea0b900fe3d12e234caab4fcf69184 /Library/Formula | |
| parent | e9c65534993cd73ea0ebad275628071f06bc0d41 (diff) | |
| download | homebrew-7b4151633fde2577c91b335b60c0069b20318182.tar.bz2 | |
wine: use fails_with for clang < 425
Closes #21541
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/wine.rb | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb index 69990e7d7..2b6bebaaa 100644 --- a/Library/Formula/wine.rb +++ b/Library/Formula/wine.rb @@ -44,6 +44,11 @@ class Wine < Formula cause 'llvm-gcc does not respect force_align_arg_pointer' end + fails_with :clang do + build 421 + cause 'error: invalid operand for instruction lretw' + end + # the following libraries are currently not specified as dependencies, or not built as 32-bit: # configure: libv4l, gstreamer-0.10, libcapi20, libgsm @@ -65,15 +70,6 @@ class Wine < Formula ENV.append "CFLAGS", build32 ENV.append "LDFLAGS", build32 - # Still miscompiles at v1.6 - if ENV.compiler == :clang - 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 - EOS - end - # Workarounds for XCode not including pkg-config files ENV.libxml2 ENV.append "LDFLAGS", "-lxslt" |
