aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--driver.c2
-rw-r--r--targ.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/driver.c b/driver.c
index 23de769..329dacb 100644
--- a/driver.c
+++ b/driver.c
@@ -384,7 +384,7 @@ main(int argc, char *argv[])
arrayaddbuf(&stages[LINK].cmd, linkcmd, sizeof(linkcmd));
if (hasprefix(target, "x86_64-") || hasprefix(target, "amd64-")) {
- arch = "x86_64";
+ arch = "x86_64-sysv";
qbearch = "amd64_sysv";
} else if (hasprefix(target, "aarch64-")) {
arch = "aarch64";
diff --git a/targ.c b/targ.c
index 2ffcd3e..8402b97 100644
--- a/targ.c
+++ b/targ.c
@@ -7,7 +7,7 @@ const struct target *targ;
static const struct target alltargs[] = {
{
- .name = "x86_64",
+ .name = "x86_64-sysv",
.typewchar = &typeint,
.typevalist = &(struct type){
.kind = TYPEARRAY,