--- CMakeLists.old.txt. 2011-09-23 18:13:08.765093293 -0400 +++ CMakeLists.txt 2011-09-23 18:13:23.868864328 -0400 @@ -54,8 +54,6 @@ add_definitions(-D_FORTIFY_SOURCE=2) add_definitions(-fstack-protector --param ssp-buffer-size=4) add_definitions(-pie -fPIE) - set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,relro) - set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,now) endif() # Win32 specific global directives