From ad91edabff29d115b5701b7953d7b3eb92b3c14a Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 5 Dec 2016 09:24:26 +0100 Subject: [PATCH] Changed: Disable -fno-strict-aliasing (and fix all strict aliasing warnings) --HG-- branch : develop --- code/CMakeModules/nel.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/CMakeModules/nel.cmake b/code/CMakeModules/nel.cmake index fb1543ce5..c52590ee2 100644 --- a/code/CMakeModules/nel.cmake +++ b/code/CMakeModules/nel.cmake @@ -851,7 +851,7 @@ MACRO(NL_SETUP_BUILD) ENDIF() ENDIF() - ADD_PLATFORM_FLAGS("-D_REENTRANT -fno-strict-aliasing") + ADD_PLATFORM_FLAGS("-D_REENTRANT") # hardening ADD_PLATFORM_FLAGS("-D_FORTIFY_SOURCE=2")