commit 798e7b63d399ae347bf85bd512581cfc563bfc5e
parent 5783fd93065307681b3e2e4c8098676b6b747aa1
Author: Dridi Boukelmoune <dridi.boukelmoune@gmail.com>
Date: Wed, 26 Apr 2023 00:53:19 +0200
Makefile: Print the correct $(AR) utility
Signed-off-by: Dridi Boukelmoune <dridi.boukelmoune@gmail.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/stdlib.mk b/stdlib.mk
@@ -119,11 +119,11 @@ $(HARECACHE)/rt/cpuid_native.o: $(STDLIB)/rt/+$(ARCH)/cpuid_native.s
@$(AS) -o $@ $(STDLIB)/rt/+$(ARCH)/cpuid_native.s
$(HARECACHE)/rt/rt-linux.a: $(HARECACHE)/rt/rt-linux.o $(stdlib_asm)
- @printf 'AS \t%s\n' "$@"
+ @printf 'AR \t%s\n' "$@"
@$(AR) -csr $@ $(HARECACHE)/rt/rt-linux.o $(stdlib_asm)
$(HARECACHE)/rt/rt-freebsd.a: $(HARECACHE)/rt/rt-freebsd.o $(stdlib_asm)
- @printf 'AS \t%s\n' "$@"
+ @printf 'AR \t%s\n' "$@"
@$(AR) -csr $@ $(HARECACHE)/rt/rt-freebsd.o $(stdlib_asm)
stdlib_rt = $(HARECACHE)/rt/rt-$(PLATFORM).a