From 1e28a22860c092168bcfd4c4342c7bfaf585eea5 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Tue, 14 Aug 2018 13:58:00 +0000 Subject: [PATCH] build: drop -image-base on Linux Clang 7 requires -Wl prefix but adding it exposes lack of -image-base support in BFD and Gold linkers, often used on Linux. Drop -image-base as st11range issues were apparently fixed by -no-pie. --- rpcs3/cmake_modules/ConfigureCompiler.cmake | 2 -- 1 file changed, 2 deletions(-) diff --git a/rpcs3/cmake_modules/ConfigureCompiler.cmake b/rpcs3/cmake_modules/ConfigureCompiler.cmake index 2f719721fa79..68633eaf56e1 100644 --- a/rpcs3/cmake_modules/ConfigureCompiler.cmake +++ b/rpcs3/cmake_modules/ConfigureCompiler.cmake @@ -53,8 +53,6 @@ if(NOT MSVC) # This fixes 'some' of the st11range issues. See issue #2516 if(APPLE) set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-image_base,0x10000 -Wl,-pagezero_size,0x10000") - else() - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -image-base=0x10000") endif() endif()