From 79c0f7dfb063b5d29dc4547d37efbcb86a89fdac Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 21 Feb 2021 13:39:12 +0200 Subject: Call global constructors --- toolchain.makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'toolchain.makefile') 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 -- cgit v1.2.1