From 018203a62c64f11be113851d65aa0415a41473fb 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) --- 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")