wrc: Add ARM64 support.
This commit is contained in:
parent
3ea316638d
commit
198b70cb9d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue