aboutsummaryrefslogtreecommitdiff
path: root/toolchain.makefile
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2021-03-21 16:53:07 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2021-03-21 16:53:07 +0200
commite9232199bdd97233dabd59f07c63607c93c0c59c (patch)
tree66aff19650079c9fc990f75d2ed390dd674cfdaa /toolchain.makefile
parentAdd allocator (diff)
downloadkernel.cpp-e9232199bdd97233dabd59f07c63607c93c0c59c.tar.xz
Check multiboot2 header length, and if needed map the next page as well
Diffstat (limited to 'toolchain.makefile')
-rw-r--r--toolchain.makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/toolchain.makefile b/toolchain.makefile
index a4a0667..dc6194e 100644
--- a/toolchain.makefile
+++ b/toolchain.makefile
@@ -5,7 +5,7 @@ NM := llvm-nm
SED := sed
AS := clang
-AS_FLAGS :=
+AS_FLAGS := -nostdlib -Wall -Wextra
LD := ld.lld
LD_FLAGS := -nostdlib -T linker.ld
@@ -22,7 +22,8 @@ CXX_FLAGS := -std=c++20 -g -O3 -flto=full \
-Wconsumed
CXX_TEST_FLAGS := -std=c++20 -Wall -Wextra -Werror=pedantic
CXX_INCLUDE := $(CURDIR)/libk $(CURDIR)/src $(CURDIR)/drivers
-CXX_SYSTEM_INCLUDE := $(CURDIR)/grub
+
+SYSTEM_INCLUDE := $(CURDIR)/grub
#
GRUB_MKRESCUE := grub-mkrescue