summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Libraries/LibM/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibM/CMakeLists.txt b/Userland/Libraries/LibM/CMakeLists.txt
index bdb9baf78a..3990dae123 100644
--- a/Userland/Libraries/LibM/CMakeLists.txt
+++ b/Userland/Libraries/LibM/CMakeLists.txt
@@ -1,7 +1,10 @@
set(SOURCES
math.cpp
+ ../LibC/ssp.cpp
)
+set_source_files_properties (../LibC/ssp.cpp PROPERTIES COMPILE_FLAGS
+ "-fno-stack-protector")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdlib")
serenity_libc(LibM m)