summaryrefslogtreecommitdiff
path: root/kernel/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/makefile')
-rw-r--r--kernel/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/makefile b/kernel/makefile
index 9ec5be6..6d32537 100644
--- a/kernel/makefile
+++ b/kernel/makefile
@@ -10,7 +10,8 @@ build/%.asm.o: source/%.asm
build/%.cpp.o: source/%.cpp
@mkdir -p $(@D)
- $(HILBERT_CC) -c -ffreestanding -mcmodel=kernel -I ${LIMINE_DIR} $^ -o $@
+ $(HILBERT_CC) -c -ffreestanding -fno-exceptions -fno-rtti \
+ -mcmodel=kernel -I ${LIMINE_DIR} -I ${MINTSUKI_HEADERS_DIR} $^ -o $@
build/kernel.elf: $(SOURCES:%=build/%.o)
$(HILBERT_LD) -T link.ld $^ -o $@