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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user