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:
Steve Pham
2022-02-14 10:30:00 -08:00
committed by GitHub
parent ba43efd3d2
commit 0f9c369d7c
@@ -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