summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
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)