mirror of
https://github.com/RGBCube/serenity
synced 2025-10-28 21:42:06 +00:00
This makes CMake pass `-fpie` instead of `-fpic` to the compiler when building the Kernel and userland *executables*. This allows the compiler to make certain optimizations based on the fact that the code will be used in an executable, such as not having to emit `.localalias` symbols. This leads to a 450 KiB decrease in the size of the Kernel binary. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| main.cpp | ||
| misc.cpp | ||
| misc.h | ||