The flag is --no-undefined, not -Wl,-undefined,error
Signed-off-by: Chris Burel <burelc@amazon.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user