From 65b107a448583b3c2432fa9f7e83726df34544df Mon Sep 17 00:00:00 2001 From: Random06457 <28494085+Random06457@users.noreply.github.com> Date: Wed, 28 Aug 2024 19:33:49 +0900 Subject: [PATCH] get rid of explicit -pie linker flag --- CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3fb4e53e..fca2dd75 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -634,11 +634,6 @@ endif() create_target_directory_groups(shadps4) -# Forcing PIE makes sure that the base address is high enough so that it doesn't clash with the PS4 memory. -if (UNIX) - target_link_options(shadps4 PRIVATE -pie) -endif() - target_link_libraries(shadps4 PRIVATE magic_enum::magic_enum fmt::fmt toml11::toml11 tsl::robin_map xbyak::xbyak Tracy::TracyClient RenderDoc::API FFmpeg::ffmpeg) target_link_libraries(shadps4 PRIVATE Boost::headers GPUOpen::VulkanMemoryAllocator sirit Vulkan::Headers xxHash::xxhash Zydis::Zydis glslang::SPIRV glslang::glslang SDL3::SDL3)