diff options
Diffstat (limited to 'src/lib/libc/Makefile')
-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: |