mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:17:45 +00:00
Build: Build Userland with -O2, Kernel with -Os
For some reason I don't yet understand, building the kernel with -O2 produces a way-too-large kernel on some people's systems. Since there are some really nice performance benefits from -O2 in userspace, let's do a compromise and build Userland with -O2 but put Kernel back into the -Os box for now.
This commit is contained in:
parent
0817ea01c2
commit
f27eb315fc
3 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
add_compile_options(-Os)
|
||||
|
||||
set(KERNEL_HEAP_SOURCES
|
||||
Heap/SlabAllocator.cpp
|
||||
Heap/kmalloc.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue