mirror of
https://github.com/RGBCube/serenity
synced 2025-10-20 19:42:31 +00:00
While playing with conditionally disabling -O2 optimization when building the Userland subdirectory, I discovered that we can no longer link errors without -O2. This happens as LibM.so doesn't link to anything else, resulting in no stack protector implementation. It appears that optimization somehow avoids this problem? To fix this inject LibC/ssp.cpp as we do with in dynamic loader. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| math.cpp | ||
| math.h | ||