From 37e057173c0140dbb5ee48c9e8059bdadc6b790c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20W=C5=82ostowski?= Date: Wed, 22 May 2019 16:37:16 +0200 Subject: [PATCH] CMakeLists: temporarily disable --no-undefined which breaks builds with ASan --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dfb4abdb67..e03d76f18e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -339,8 +339,9 @@ if( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" ) elseif( NOT APPLE ) # Thou shalt not link vaporware and tell us it's a valid DSO (apple ld doesn't support it) - set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" ) - set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" ) + # temporarily disabled due to breaking ASAN-enabled builds - Tom + # set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" ) + # set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" ) set( CMAKE_EXE_LINKER_FLAGS_RELEASE "-s" ) endif()