mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 06:42:08 +00:00
- Disabled position independent executable for MinGW
This broke MinGW-w64 but was ignored with tdm-gcc.
This commit is contained in:
parent
211bd0b1b0
commit
720bb485be
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ else()
|
|||
# If we're compiling with a custom GCC on the Mac (which we know since g++-4.2 doesn't support C++11) statically link libgcc.
|
||||
set( ALL_C_FLAGS "-static-libgcc" )
|
||||
endif()
|
||||
else()
|
||||
elseif( NOT MINGW )
|
||||
# Generic GCC/Clang requires position independent executable to be enabled explicitly
|
||||
set( ALL_C_FLAGS "${ALL_C_FLAGS} -fPIE" )
|
||||
set( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie" )
|
||||
|
|
Loading…
Reference in a new issue