mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-15 00:51:24 +00:00
- Disabled position independent executable for MinGW
This broke MinGW-w64 but was ignored with tdm-gcc.
This commit is contained in:
parent
5a7192137d
commit
1acba42baa
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ else()
|
|||
set( ALL_C_FLAGS "-static-libgcc" )
|
||||
endif()
|
||||
|
||||
if( NOT APPLE )
|
||||
if( NOT APPLE AND 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