From 016e09531da9f517c499eb16393b9df1e4268bb7 Mon Sep 17 00:00:00 2001 From: Rodrigo Reichert Date: Wed, 10 Sep 2025 16:36:37 +1000 Subject: [PATCH] Add stack protection options --- CompileOptions.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/CompileOptions.cmake b/CompileOptions.cmake index 3de0191..6e7278d 100644 --- a/CompileOptions.cmake +++ b/CompileOptions.cmake @@ -163,6 +163,7 @@ function(swift_set_compile_options) -Wshadow -Wsign-compare -Wstack-protector + --param=ssp-buffer-size=1 -Wswitch -Wswitch-default -Wswitch-enum