summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibM/CMakeLists.txt
AgeCommit message (Collapse)Author
2021-05-23LibM: Fix linking with LibM when compiling Userland without -O2Brian Gianforcaro
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-01-12Libraries: Move to Userland/Libraries/Andreas Kling