diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-05 18:51:17 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-05 18:51:17 -0400 |
commit | b7ed37d5af4bdf78f2fbed4af896e9956bc85168 (patch) | |
tree | 303c5022859187bb5e75863d5a82e14377a43d8c /src/lib | |
parent | 72f7a04345e8f75041179960dfde3089b53c7344 (diff) |
build: Use toolchain for user programs
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libc/Makefile b/src/lib/libc/Makefile index f2e171a..c69c470 100644 --- a/src/lib/libc/Makefile +++ b/src/lib/libc/Makefile @@ -8,7 +8,7 @@ all: build sys $(OBJ) target ar rcs $(LIBC_OUT) $(OBJ) %.o: %.c - $(CC) -Iinclude/ -I$(TARGET)/include/ -c $< -o $@ + $(CC) -ffreestanding -nostdlib -Iinclude/ -I$(TARGET)/include/ -c $< -o $@ .PHONY: target target: |