Changed: Disable -fno-strict-aliasing (and fix all strict aliasing warnings)

This commit is contained in:
kervala 2016-12-05 09:24:26 +01:00
parent 2dc4a68fe4
commit 018203a62c

View file

@ -851,7 +851,7 @@ MACRO(NL_SETUP_BUILD)
ENDIF() ENDIF()
ENDIF() ENDIF()
ADD_PLATFORM_FLAGS("-D_REENTRANT -fno-strict-aliasing") ADD_PLATFORM_FLAGS("-D_REENTRANT")
# hardening # hardening
ADD_PLATFORM_FLAGS("-D_FORTIFY_SOURCE=2") ADD_PLATFORM_FLAGS("-D_FORTIFY_SOURCE=2")