=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: wrc: Add ARM64 support.

Alexandre Julliard julliard at winehq.org
Wed Jan 16 13:47:43 CST 2013


Module: wine
Branch: master
Commit: 198b70cb9d6f144be83d96a1912dc3b5799988c6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=198b70cb9d6f144be83d96a1912dc3b5799988c6

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Jan 16 00:45:06 2013 +0100

wrc: Add ARM64 support.

---

 tools/wrc/wrc.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tools/wrc/wrc.c b/tools/wrc/wrc.c
index 7d5ad89..ac1fdcc 100644
--- a/tools/wrc/wrc.c
+++ b/tools/wrc/wrc.c
@@ -318,7 +318,8 @@ static void set_target( const char *target )
     /* target specification is in the form CPU-MANUFACTURER-OS or CPU-MANUFACTURER-KERNEL-OS */
     if (!(p = strchr( cpu, '-' ))) error( "Invalid target specification '%s'\n", target );
     *p = 0;
-    if (!strcmp( cpu, "amd64" ) || !strcmp( cpu, "x86_64" ) || !strcmp( cpu, "ia64" ))
+    if (!strcmp( cpu, "amd64" ) || !strcmp( cpu, "x86_64" ) ||
+        !strcmp( cpu, "ia64" ) || !strcmp( cpu, "aarch64" ))
         pointer_size = 8;
     else
         pointer_size = 4;




More information about the wine-cvs mailing list