aboutsummaryrefslogtreecommitdiff
path: root/toolchain.makefile
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2021-03-05 21:08:58 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2021-03-05 21:09:05 +0200
commit81429ad8e8daee9bc90e4558525535e4b37dbe5c (patch)
tree13bea920f7c42f14d5e9b48e78f4d1e791dd4507 /toolchain.makefile
parentadd broken Scheduler (diff)
downloadkernel.cpp-81429ad8e8daee9bc90e4558525535e4b37dbe5c.tar.xz
libk: add int_t min max size constants
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