Revert "- Add stack protection for MinGW."

This reverts commit 9d3326d847.

Forgot to revert this, made it crash on 64 bit windows.
This commit is contained in:
drfrag 2019-05-06 14:25:10 +02:00
parent cb57c712cb
commit 7763698166

View file

@ -404,11 +404,6 @@ if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
set( CMAKE_CXX_FLAGS "-Wno-unknown-pragmas -Wno-comment -Wno-format ${CMAKE_CXX_FLAGS}" )
endif()
# Add stack protection for MinGW.
if( MINGW )
set( CMAKE_CXX_FLAGS "-fstack-protector ${CMAKE_CXX_FLAGS}" )
endif()
# Detect FreeBSD and add flags
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC" )