configure: Fix cross-compiling of 32-bit Wine for OSX.
Sebastian Lackner
sebastian at fds-team.de
Mon Mar 7 01:36:28 CST 2016
Fixes a regression introduced by 7d295d381c003eb2e43e781b818e5eaeb8a27f3c.
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---
configure.ac | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/configure.ac b/configure.ac
index b57ff6a..fd65810 100644
--- a/configure.ac
+++ b/configure.ac
@@ -175,6 +175,13 @@ case $host in
AC_SUBST(TARGETFLAGS,"-marm")
;;
i[[3456789]]86*)
+ if test "$cross_compiling" = "yes"; then
+ CC="$CC -m32"
+ CXX="$CXX -m32"
+ host_cpu="i386"
+ notice_platform="32-bit "
+ AC_SUBST(TARGETFLAGS,"-m32")
+ fi
enable_win16=${enable_win16:-yes}
;;
esac
--
2.7.1
More information about the wine-patches
mailing list