[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    [PATCH 1/2] configure: Build with -mcx16 on x86_64.
From:       Jacek Caban <jacek () codeweavers ! com>
Date:       2020-07-31 13:37:17
Message-ID: a59de220-4b9a-fba3-3795-73e3dcc15e9f () codeweavers ! com
[Download RAW message or body]

This is needed on clang msvc target to allow _InterlockedCompareExchange128.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
---
  configure.ac | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)



["0001-configure-Build-with-mcx16-on-x86_64.txt" (text/x-patch)]

diff --git a/configure.ac b/configure.ac
index dea25b0c3f1..92d5ed5e606 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1096,7 +1096,8 @@ then
           *i[[3456789]]86*) WINE_TRY_CROSSCFLAGS([-fno-omit-frame-pointer]) ;;
           x86_64) WINE_TRY_CROSSCFLAGS([-Wno-format])
                   WINE_TRY_CROSSCFLAGS([-Wformat-overflow])
-                  WINE_TRY_CROSSCFLAGS([-Wnonnull]) ;;
+                  WINE_TRY_CROSSCFLAGS([-Wnonnull])
+                  WINE_TRY_CROSSCFLAGS([-mcx16]) ;;
         esac
 
         dnl Determine debug info format



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic