diff options
Diffstat (limited to 'toolchain.makefile')
-rw-r--r-- | toolchain.makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolchain.makefile b/toolchain.makefile index aa64c5b..ee9cc0e 100644 --- a/toolchain.makefile +++ b/toolchain.makefile @@ -8,11 +8,11 @@ LD := ld.lld LD_FLAGS := -T linker.ld CXX := clang++ -CXX_FLAGS := -std=c++20 -ffreestanding -nostdlib -nostdinc -nostdinc++ \ - -fno-exceptions -fno-rtti -Wall -Wextra -Werror=pedantic -O2 \ +CXX_FLAGS := -std=c++20 \ + -mkernel -ffreestanding -nostdlib -nostdinc -nostdinc++ \ + -Wall -Wextra -Werror=pedantic -O2 \ -Werror=date-time \ -Werror=shadow-all \ - -Wnon-virtual-dtor \ -Wold-style-cast -Wconversion \ -Wconsumed CXX_INCLUDE := $(CURDIR)/libk $(CURDIR)/drivers |