mirror of
https://github.com/ZDoom/ZMusic.git
synced 2024-11-30 15:41:30 +00:00
- enabled position independent code
This commit is contained in:
parent
2422d06835
commit
26c3c3a1bd
1 changed files with 2 additions and 3 deletions
|
@ -178,9 +178,8 @@ else()
|
|||
set( ALL_C_FLAGS "-static-libgcc" )
|
||||
endif()
|
||||
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" )
|
||||
# Generic GCC/Clang requires position independent code to be enabled explicitly
|
||||
set( ALL_C_FLAGS "${ALL_C_FLAGS} -fPIC" )
|
||||
endif( APPLE )
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue