commit 79770bae74563dc2b8f75602cf82bf5ce77aca1d
parent db8a566b40c0873d76fa2f5b764d7a373470969e
Author: Simon Ser <contact@emersion.fr>
Date: Wed, 3 Feb 2021 15:49:06 +0100
rt: use QBE variable
Fixes the build when the user has specified a custom QBE binary.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rt/Makefile b/rt/Makefile
@@ -10,7 +10,7 @@ libhart.a: harec $(libhart_srcs) $(libhart_objs) $(rtstart)
@printf 'HAREC\t$@\n'
@mkdir -p $(HARECACHE)/rt
@./harec -Nrt -t$(HARECACHE)/rt/rt.td -o $@.ssa $(libhart_srcs)
- @qbe -o $@.s $@.ssa
+ @$(QBE) -o $@.s $@.ssa
@$(AS) -o $@.o $@.s
@$(AR) -csr $@ $@.o $(libhart_objs)
@rm $@.o $@.s $@.ssa