aboutsummaryrefslogtreecommitdiffhomepage
path: root/targ.c
diff options
context:
space:
mode:
Diffstat (limited to 'targ.c')
-rw-r--r--targ.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/targ.c b/targ.c
index 4e508e3..510b6e5 100644
--- a/targ.c
+++ b/targ.c
@@ -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;