commit 63c66208e583d8538351428cb2d5bdf0aabe3e26
parent 1f8f494a8504aa99052554476d86bcd0d6a7a1ba
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Wed, 4 Jun 2025 16:36:22 +0200
driver/posix: Enable QBE for any arch/abi
The validation for the correct combination of QBE, arch and abi
is done when the qbe target selection is done, so we don't have
to care about it when we select the scc backend used to generate
the QBE IL.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cmd/scc-cc/posix/cc.c b/src/cmd/scc-cc/posix/cc.c
@@ -163,7 +163,7 @@ addarg(int tool, char *arg)
static char *
cc2fmt(int tool)
{
- if (Qflag && !strcmp(arch, "amd64") && !strcmp(abi, "sysv"))
+ if (Qflag)
return "%s/libexec/scc/%s-qbe_%s-%s";
return "%s/libexec/scc/%s-%s-%s";
}