From 0f9c369d7c2c8fff84abad0e1ec7fcb1493cbe9c Mon Sep 17 00:00:00 2001 From: Steve Pham <82231385+spham-amzn@users.noreply.github.com> Date: Mon, 14 Feb 2022 10:30:00 -0800 Subject: [PATCH] Fix Clang built executables so they can be launched from the file explorer (#7562) * Remove Position Independent Executable link flags from EXEs Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com> --- cmake/Platform/Linux/Configurations_linux.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/cmake/Platform/Linux/Configurations_linux.cmake b/cmake/Platform/Linux/Configurations_linux.cmake index 300b7bee10..3c3ea5bf62 100644 --- a/cmake/Platform/Linux/Configurations_linux.cmake +++ b/cmake/Platform/Linux/Configurations_linux.cmake @@ -24,7 +24,6 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") -Wl,-z,relro,-z,now -Wl,-z,noexecstack LINK_EXE - -pie -fpie -Wl,-z,relro,-z,now -Wl,-z,noexecstack