From bb7b317966f1110d2dbd49cbf53e53832ab3821b Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 28 Mar 2025 01:15:51 -0400 Subject: sys: Make proper sys/types.h + add clang nostdinc Signed-off-by: Ian Moffett --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 7783676..edf7193 100644 --- a/Makefile.in +++ b/Makefile.in @@ -20,10 +20,10 @@ override KERNEL_DEFINES = $ -DHYRA_VERSION="\"$(HYRA_VERSION)\""\ override TOOLCHAIN = @TOOLCHAIN@ ifeq ($(TOOLCHAIN), clang) ifeq ($(ARCH), amd64) - override CC = clang -target x86_64-none-elf + override CC = clang -target x86_64-none-elf -ffreestanding -nostdlib override LD = ld.lld else - override CC = clang -target $(ARCH)-none-elf + override CC = clang -target $(ARCH)-none-elf -ffreestanding -nostdlib override LD = ld.lld endif else ifeq ($(TOOLCHAIN), gcc) -- cgit v1.2.3