1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-14 19:47:35 +00:00
serenity/Userland/Libraries/LibM
Brian Gianforcaro e706de8f91 LibM: Fix linking with LibM when compiling Userland without -O2
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.
2021-05-23 20:17:00 +01:00
..
CMakeLists.txt LibM: Fix linking with LibM when compiling Userland without -O2 2021-05-23 20:17:00 +01:00
math.cpp Revert "Userland: static vs non-static constexpr variables" 2021-05-21 10:30:52 +01:00
math.h LibC: Add declarations for various C11 math functions 2021-05-09 15:35:01 +02:00