André Hentschel : wrc: Add PPC64 support.
Alexandre Julliard
julliard at winehq.org
Tue Feb 9 15:57:08 CST 2021
Module: wine
Branch: master
Commit: 9419eadd04e3286466ae8ef4a6d123498abc5330
URL: https://source.winehq.org/git/wine.git/?a=commit;h=9419eadd04e3286466ae8ef4a6d123498abc5330
Author: André Hentschel <nerv at dawncrow.de>
Date: Sun Jan 31 18:34:16 2021 +0100
wrc: Add PPC64 support.
Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
tools/wrc/wrc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/wrc/wrc.c b/tools/wrc/wrc.c
index b260e20af07..fec05148adc 100644
--- a/tools/wrc/wrc.c
+++ b/tools/wrc/wrc.c
@@ -328,7 +328,8 @@ static void set_target( const char *target )
if (!(p = strchr( cpu, '-' ))) error( "Invalid target specification '%s'\n", target );
*p = 0;
if (!strcmp( cpu, "amd64" ) || !strcmp( cpu, "x86_64" ) ||
- !strcmp( cpu, "ia64" ) || !strcmp( cpu, "aarch64" ))
+ !strcmp( cpu, "ia64" ) || !strcmp( cpu, "aarch64" ) ||
+ !strcmp( cpu, "powerpc64" ) || !strcmp( cpu, "powerpc64le" ))
pointer_size = 8;
else
pointer_size = 4;
More information about the wine-cvs
mailing list