[PATCH 8/9] wrc: Add PPC64 support
André Hentschel
nerv at dawncrow.de
Sun Apr 26 12:13:48 CDT 2020
From: Timothy Pearson <tpearson at raptorengineering.com>
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..030a1d82fac 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