From 554f28901b71f62d00035febe2f7a40efd03e822 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 21 Nov 2019 12:47:49 +0100 Subject: [PATCH] Kernel: Build with -fno-asynchronous-unwind-tables We'll never use exceptions in the kernel, so there's no need for unwind tables and we can save ourselves some space. --- Kernel/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/Makefile b/Kernel/Makefile index 2563af1a12..01fd177929 100644 --- a/Kernel/Makefile +++ b/Kernel/Makefile @@ -102,7 +102,7 @@ CXX_OBJS = \ OBJS = $(CXX_OBJS) Arch/i386/Boot/boot.ao KERNEL = kernel -CXXFLAGS += -ffreestanding -mno-80387 -mno-mmx -mno-sse -mno-sse2 +CXXFLAGS += -ffreestanding -mno-80387 -mno-mmx -mno-sse -mno-sse2 -fno-asynchronous-unwind-tables CXXFLAGS += -nostdlib -nostdinc -nostdinc++ CXXFLAGS += -I../Toolchain/Local/i686-pc-serenity/include/c++/8.3.0/ CXXFLAGS += -I../Toolchain/Local/i686-pc-serenity/include/c++/8.3.0/i686-pc-serenity/