The flag is --no-undefined, not -Wl,-undefined,error

Signed-off-by: Chris Burel <burelc@amazon.com>
This commit is contained in:
Chris Burel
2022-02-14 16:24:49 -08:00
parent 8acda7d04d
commit c89376e9c3
@@ -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