Signed-off-by: André Hentschel nerv@dawncrow.de --- configure.ac | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac index a9003523700..5ecb2af0ec8 100644 --- a/configure.ac +++ b/configure.ac @@ -217,6 +217,14 @@ case $host in enable_win16=${enable_win16:-yes} with_unwind=${with_unwind:-no} ;; + powerpc64*) + host_cpu="powerpc64le" + notice_platform="64-bit " + WINE_TRY_CFLAGS([-mlongcall], [CC="$CC -mlongcall" + CXX="$CXX -mlongcall"]) + WINE_TRY_CFLAGS([-mno-pltseq], [CC="$CC -mno-pltseq" + CXX="$CXX -mno-pltseq"]) + ;; esac
dnl enable_win16 defaults to yes on x86, to no on other CPUs @@ -937,7 +945,7 @@ case $host_os in WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
case $host_cpu in - *i[[3456789]]86* | x86_64 | *aarch64*) + *i[[3456789]]86* | x86_64 | *aarch64* | powerpc64*) WINE_TRY_CFLAGS([-Wl,-Ttext-segment=0x7bc00000], [case $host_os in freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;