[PATCH 06/22] wrc: Add PPC64 support

André Hentschel nerv at dawncrow.de
Sun Aug 16 14:01:44 CDT 2020


Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
 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..1f2486f9ff7 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, "ppc64" ) || !strcmp( cpu, "powerpc64le" ))
         pointer_size = 8;
     else
         pointer_size = 4;
-- 
2.25.1




More information about the wine-devel mailing list