mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
cmake: Remove -nopie, -no-pie should be used instead
This commit is contained in:
parent
3dfae32963
commit
8464480ceb
@ -241,10 +241,6 @@ else()
|
|||||||
if(NO_PIE_UPSTREAM)
|
if(NO_PIE_UPSTREAM)
|
||||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie")
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie")
|
||||||
endif()
|
endif()
|
||||||
check_c_compiler_flag("-nopie" NO_PIE_PATCHED)
|
|
||||||
if(NO_PIE_PATCHED)
|
|
||||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -nopie")
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user