diff options
| -rwxr-xr-x | configure | 2 | ||||
| -rw-r--r-- | targ.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -45,7 +45,9 @@ host_abi= echo "host: $host" case "$host" in x86_64-*) host_arch=x86_64 ;; +amd64-*) host_arch=x86_64 ;; aarch64-*) host_arch=aarch64 ;; +arm64-*) host_arch=aarch64 ;; *) host_arch=unk ;; esac @@ -38,7 +38,7 @@ matchstr(const char **s, const char *pat) static bool parsetriple(struct targtriple *trg, const char *str) { - if (matchstr(&str, "x86_64-")) + if (matchstr(&str, "x86_64-") || matchstr(&str, "amd64-")) trg->arch = ISx86_64; else if (matchstr(&str, "aarch64-") || matchstr(&str, "arm64-")) trg->arch = ISaarch64; |