[PATCH] [PATCH 8/9 try2] wrc: Add PPC64 support

André Hentschel nerv at dawncrow.de
Mon Apr 27 05:07:10 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 6c1887a788f..3e14a1c060d 100644
--- a/tools/wrc/wrc.c
+++ b/tools/wrc/wrc.c
@@ -329,7 +329,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, "ppc64le" ))
         pointer_size = 8;
     else
         pointer_size = 4;
-- 
2.17.1



More information about the wine-devel mailing list