[2/3] configure.ac: Downgrade the Thumb2 requirement to Thumb on ARM

André Hentschel nerv at dawncrow.de
Sun Jun 24 17:22:16 CDT 2012


Thumb2 is not needed at compiletime now, still we need Thumb for things like "blx"
---
 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1753e14..70e7663 100644
--- a/configure.ac
+++ b/configure.ac
@@ -169,11 +169,11 @@ case $host in
     fi
     ;;
   arm*)
-    AC_MSG_CHECKING([whether $CC supports Thumb2])
-    WINE_TRY_ASM_LINK([".syntax unified\n.thumb\nb.w ac_test\n.arm"],[int ac_test(int i) { return i; }], [if (ac_test(1)) return 1],
+    AC_MSG_CHECKING([whether $CC supports Thumb])
+    WINE_TRY_ASM_LINK([".thumb\nblx ac_test\n.arm"],[int ac_test(int i) { return i; }], [if (ac_test(1)) return 1],
                       [AC_MSG_RESULT([yes])],
                       [AC_MSG_RESULT([no])
-                       AC_MSG_ERROR([You need a target with Thumb2 support to build Wine for ARM.])])
+                       AC_MSG_ERROR([You need a target with Thumb support to build Wine for ARM.])])
     CFLAGS="$CFLAGS -marm"
     ;;
   *-mingw32*|*-cygwin*)
-- 
1.7.4.1


-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list