summaryrefslogtreecommitdiff
path: root/kernel/makefile
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2024-07-27 16:57:39 -0400
committerBenji Dial <benji@benjidial.net>2024-07-27 16:57:39 -0400
commitfbfc078e9f44c1c1e95c9c484f1d5650bcf631b7 (patch)
treecab539c8cbbac81d895b6f8be695f3f53bf8f4d5 /kernel/makefile
parent9af5588c30c4126a2800aae1afcb0de2c373dc6c (diff)
downloadhilbert-os-fbfc078e9f44c1c1e95c9c484f1d5650bcf631b7.tar.gz
lots and lots of userspace stuff
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 $@