From c8f43b20e44272153030bd8428018bac0028a4fc Mon Sep 17 00:00:00 2001 From: Guilherme Maciel Ferreira Date: Fri, 17 Feb 2012 22:14:39 -0200 Subject: [PATCH] Added stack protection warning and optimization to avoid stack overflows. --- CMakeLists.txt | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cf63d64..3ed3f29 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,7 @@ add_definitions( -Wall -Wextra -Weffc++ -Wshadow -Wcast-qual -Wconversion -pedantic -Wabi -Wfloat-equal -Winline -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Woverloaded-virtual -Wpacked -Wredundant-decls -Wsign-promo + -Wstack-protector -fstack-protector #-Werror #-O2 -DVERSION_STRING=${VERSION} -- 1.7.1