summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-11-21 12:47:49 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-11-21 12:47:49 +0100
commit554f28901b71f62d00035febe2f7a40efd03e822 (patch)
treed50ae450baf1080a09e8e0132a45c733cde33646
parentb0b523e973eb29a5dbf50b1995cbfca63b228a6c (diff)
downloadserenity-554f28901b71f62d00035febe2f7a40efd03e822.zip
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.
-rw-r--r--Kernel/Makefile2
1 files changed, 1 insertions, 1 deletions
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/