wrc: Add ARM64 support.

This commit is contained in:
André Hentschel 2013-01-16 00:45:06 +01:00 committed by Alexandre Julliard
parent 3ea316638d
commit 198b70cb9d
1 changed files with 2 additions and 1 deletions

View File

@ -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;