From 81555ea5259ae1654f28b758986fc5cdc3b97423 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 24 Mar 2024 09:48:26 -0400 Subject: libc: build: Use target compiler Signed-off-by: Ian Moffett --- lib/libc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc') diff --git a/lib/libc/Makefile b/lib/libc/Makefile index aa09a4c..9135d20 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -17,7 +17,7 @@ build/ld.so: build/ linker/entry.c linker/entry.S $(CC) $(CFLAGS) $< -o $@ %.S.o: %.S - gcc $(CFLAGS) $< -o $@ + $(CC) $(CFLAGS) $< -o $@ .PHONY: build/: -- cgit v1.2.3