From 0f356df6cc42573ed7bf91ffb4ba8da4f516f5b4 Mon Sep 17 00:00:00 2001 From: Robin Hack Date: Thu, 19 Sep 2013 08:11:59 +0200 Subject: Providers: Switch to -fstack-protector-strong. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 447be1f..1f62c37 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ cmake_minimum_required(VERSION 2.6) # Set flags and definitions add_definitions(-D_XOPEN_SOURCE=500 -D_GNU_SOURCE) -set(CMAKE_C_FLAGS "-std=c99 -fstack-protector -Wall -pedantic -g -Wextra -Wno-unused-parameter -Wformat -Wparentheses -Wl,--no-undefined ${CMAKE_C_FLAGS}") +set(CMAKE_C_FLAGS "-std=c99 -fstack-protector-strong -Wall -pedantic -g -Wextra -Wno-unused-parameter -Wformat -Wparentheses -Wl,--no-undefined ${CMAKE_C_FLAGS}") # Set LIB_SUFFIX to 64 on 64bit architectures if(CMAKE_SIZEOF_VOID_P EQUAL 4) -- cgit