mirror of
https://github.com/RGBCube/serenity
synced 2025-08-17 03:07:50 +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(-O2)
|
||||
|
||||
add_subdirectory(Applications)
|
||||
add_subdirectory(Demos)
|
||||
add_subdirectory(DevTools)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue