mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
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.
This commit is contained in:
parent
b0b523e973
commit
554f28901b
Notes:
sideshowbarker
2024-07-19 11:07:39 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/554f28901b7
1 changed files with 1 additions and 1 deletions
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue