configure: Fix cross-compiling of 32-bit Wine for OSX.

Alexandre Julliard julliard at winehq.org
Wed Mar 9 07:24:18 CST 2016


Sebastian Lackner <sebastian at fds-team.de> writes:

> @@ -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

The idea is that if you are cross-compiling, you have already specified
the correct host so this shouldn't be needed. How does the OS/X
cross-compiler behave?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list