mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-31 04:20:34 +00:00
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:
parent
cb57c712cb
commit
7763698166
1 changed files with 0 additions and 5 deletions
|
@ -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}" )
|
set( CMAKE_CXX_FLAGS "-Wno-unknown-pragmas -Wno-comment -Wno-format ${CMAKE_CXX_FLAGS}" )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Add stack protection for MinGW.
|
|
||||||
if( MINGW )
|
|
||||||
set( CMAKE_CXX_FLAGS "-fstack-protector ${CMAKE_CXX_FLAGS}" )
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Detect FreeBSD and add flags
|
# Detect FreeBSD and add flags
|
||||||
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||||
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC" )
|
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC" )
|
||||||
|
|
Loading…
Reference in a new issue