configure.ac: Always treat char as signed char on ARM
André Hentschel
nerv at dawncrow.de
Sun Jul 22 11:37:12 CDT 2012
Problem:
On ARM the default "char" is "unsigned char" for performance reasons, Wine uses "char" expecting the x86 default (signed char).
Solutions:
This is the easy way of fixing it, but it might lead to collisions with unix libraries.
The more correct fix would be to replace every "char" with "signed char" where appropriate.
---
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 50e5513..0189f08 100644
--- a/configure.ac
+++ b/configure.ac
@@ -174,7 +174,7 @@ case $host in
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])
AC_MSG_ERROR([You need a target with Thumb support to build Wine for ARM.])])
- CFLAGS="$CFLAGS -marm"
+ CFLAGS="$CFLAGS -marm -fsigned-char"
;;
*-mingw32*|*-cygwin*)
enable_win16=${enable_win16:-no}
--
1.7.4.1
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list