X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/a083bf6cc5c360d21f357c410142b3e9f12da79c..7b0e5fd5a660782a7888917236111c0d820de19e:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index be8e4e7..5d36d6c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,7 +68,8 @@ if (CMAKE_COMPILER_IS_GNUCC) -Wunreachable-code -Wunsafe-loop-optimizations -Wwrite-strings - ) + -fstack-protector + --param=ssp-buffer-size=4) endif() set(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG=1 -Werror")