aboutsummaryrefslogtreecommitdiff
path: root/libs/kstd/CMakeLists.txt
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-09-05 13:19:25 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-09-05 13:19:25 +0200
commit9f544dea5dbcdb92f614c6092a60e81d3398b8da (patch)
tree2a7098a472b7ef45092c830850b1625492fa04f3 /libs/kstd/CMakeLists.txt
parentc0b2173d6b6c4587d1df3e8ea992ee19c9ff4418 (diff)
downloadkernel-9f544dea5dbcdb92f614c6092a60e81d3398b8da.tar.xz
kernel-9f544dea5dbcdb92f614c6092a60e81d3398b8da.zip
build: enable strong stack protector
Diffstat (limited to 'libs/kstd/CMakeLists.txt')
-rw-r--r--libs/kstd/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/kstd/CMakeLists.txt b/libs/kstd/CMakeLists.txt
index 573fc8f2..1902d0d9 100644
--- a/libs/kstd/CMakeLists.txt
+++ b/libs/kstd/CMakeLists.txt
@@ -59,6 +59,8 @@ if(NOT BUILD_TESTING)
"memcmp"
"memcpy"
"memset"
+ "__stack_chk_fail"
+ "__stack_chk_guard"
)
list(TRANSFORM KSTD_LIBC_SYMBOLS PREPEND "-Wl,--undefined=")