Added a stack protector

This commit is contained in:
WolverinDEV 2020-12-14 20:34:01 +01:00
parent 9b8d1d4d65
commit 644391f58a

View File

@ -8,7 +8,8 @@ set(TEASPEAK_SERVER ON)
#end now #end now
#set(MEMORY_DEBUG_FLAGS " -fsanitize=leak -fsanitize=address -fstack-protector-all ") #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) if (NOT BUILD_OS_ARCH)
set(BUILD_OS_ARCH $ENV{build_os_arch}) set(BUILD_OS_ARCH $ENV{build_os_arch})