From e9232199bdd97233dabd59f07c63607c93c0c59c Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 21 Mar 2021 16:53:07 +0200 Subject: Check multiboot2 header length, and if needed map the next page as well --- toolchain.makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'toolchain.makefile') 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 -- cgit v1.2.1