diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-02-21 13:39:12 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-02-21 13:40:39 +0200 |
commit | 79c0f7dfb063b5d29dc4547d37efbcb86a89fdac (patch) | |
tree | ebbc32b22b31e675ebb5b992a20d569d3bfa8b9e /toolchain.makefile | |
parent | Add IDT (diff) | |
download | kernel.cpp-79c0f7dfb063b5d29dc4547d37efbcb86a89fdac.tar.xz |
Call global constructors
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 |