From c89376e9c3b501bd02fff2485f6450c4a3873c3e Mon Sep 17 00:00:00 2001 From: Chris Burel Date: Mon, 14 Feb 2022 16:24:49 -0800 Subject: [PATCH] The flag is `--no-undefined`, not `-Wl,-undefined,error` Signed-off-by: Chris Burel --- cmake/Platform/Linux/Configurations_linux.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Platform/Linux/Configurations_linux.cmake b/cmake/Platform/Linux/Configurations_linux.cmake index 37ef2f8fc3..09a6feaf15 100644 --- a/cmake/Platform/Linux/Configurations_linux.cmake +++ b/cmake/Platform/Linux/Configurations_linux.cmake @@ -18,7 +18,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") COMPILATION -msse4.1 LINK_NON_STATIC - -Wl,-undefined,error + -Wl,--no-undefined -fpie -Wl,-z,relro,-z,now -Wl,-z,noexecstack