From 59fd4c7009f45d1b6a584c2c0139a0032c91b1be Mon Sep 17 00:00:00 2001 From: i80287 Date: Mon, 14 Oct 2024 15:29:37 +0300 Subject: [PATCH] update CMakeLists.txt --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 35fff3c..d907a19 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -94,11 +94,11 @@ function(configure_gcc_or_clang_gcc_options) -Wformat=2 -Werror -pedantic-errors - -fstack-protector-strong ) if (NOT USING_MINGW_GCC AND CMAKE_SYSTEM_NAME MATCHES "Linux") set(LOCAL_FN_TEST_COMPILE_OPTIONS ${LOCAL_FN_TEST_COMPILE_OPTIONS} + -fstack-protector-strong -mshstk ) endif()