From 644391f58a416889fe19f4f1a4e88f47f47f0cca Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Mon, 14 Dec 2020 20:34:01 +0100 Subject: [PATCH] Added a stack protector --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ef13fbb..dd0a5b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,8 @@ set(TEASPEAK_SERVER ON) #end now #set(MEMORY_DEBUG_FLAGS " -fsanitize=leak -fsanitize=address -fstack-protector-all ") -set(MEMORY_DEBUG_FLAGS "-fsanitize=address -fstack-protector-all") +#set(MEMORY_DEBUG_FLAGS "-fsanitize=address -fstack-protector-all") +set(MEMORY_DEBUG_FLAGS "-fstack-protector-all") if (NOT BUILD_OS_ARCH) set(BUILD_OS_ARCH $ENV{build_os_arch})