aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-24 09:48:26 -0400
committerIan Moffett <ian@osmora.org>2024-03-24 09:48:26 -0400
commit81555ea5259ae1654f28b758986fc5cdc3b97423 (patch)
tree2e1bacd3ee86f637f21aefaa79caa3e9cae45f42 /lib
parent08fc6b992dc439e5e2d3c9963524a8d7fe08b0e9 (diff)
libc: build: Use target compiler
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/Makefile2
1 files changed, 1 insertions, 1 deletions
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/: