From d79d13b18055a4480a2afbaddcb8afbb2f2a594e Mon Sep 17 00:00:00 2001 From: Babz Date: Mon, 13 Sep 2021 22:22:04 +0200 Subject: [PATCH] enable stack protection (useless ?) --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index dbe60f8..5d6a406 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -79,6 +79,8 @@ set(FLAGS # function declaration -Werror-implicit-function-declaration + -fstack-protector + # optimisation level # -Os: like -O2 without space-expensive optimizations # -O2: good speed/size tradeoff