From 0bbabbf635137b23c59570247b72714f4a25f3b1 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 26 Nov 2016 16:32:57 +0100 Subject: [PATCH] Merge with develop --- code/CMakeModules/nel.cmake | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/code/CMakeModules/nel.cmake b/code/CMakeModules/nel.cmake index 90a0925bb..ca47aec83 100644 --- a/code/CMakeModules/nel.cmake +++ b/code/CMakeModules/nel.cmake @@ -926,12 +926,9 @@ MACRO(NL_SETUP_BUILD) SET(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -Wl,--no-undefined -Wl,--as-needed") ENDIF() - # hardening - SET(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -Wl,-z,relro -Wl,-z,now") - IF(NOT APPLE) # hardening - SET(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -Wl,-Bsymbolic-functions") + SET(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now") ENDIF() IF(WITH_SYMBOLS)