aboutsummaryrefslogtreecommitdiff
path: root/toolchain.makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain.makefile')
-rw-r--r--toolchain.makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain.makefile b/toolchain.makefile
index 0631904..ae791c1 100644
--- a/toolchain.makefile
+++ b/toolchain.makefile
@@ -11,6 +11,7 @@ LD := ld.lld
LD_FLAGS := -T linker.ld
CXX := clang++
+TEST_CXX := clang++
CXX_FLAGS := -std=c++20 \
-mkernel -ffreestanding -nostdlib -nostdinc -nostdinc++ \
-Wall -Wextra -Werror=pedantic -O2 \
@@ -18,6 +19,7 @@ CXX_FLAGS := -std=c++20 \
-Werror=shadow-all \
-Wold-style-cast -Wconversion \
-Wconsumed
+CXX_TEST_FLAGS := -std=c++20 -Wall -Wextra -Werror=pedantic
CXX_INCLUDE := $(CURDIR)/libk $(CURDIR)/src $(CURDIR)/drivers
CXX_SYSTEM_INCLUDE := $(CURDIR)/grub