amosbird commented on a change in pull request #7712:
URL: https://github.com/apache/incubator-doris/pull/7712#discussion_r784518308
##########
File path: be/CMakeLists.txt
##########
@@ -588,31 +581,41 @@ if ("${CMAKE_BUILD_TYPE}" STREQUAL "BCC")
)
endif()
+if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
+ set(ASAN_LIBS -static-libasan)
+ set(LSAN_LIBS -static-liblsan)
+ set(UBSAN_LIBS -static-libubsan tcmalloc)
+ set(TSAN_LIBS -static-libtsan)
Review comment:
> we may only allow to link the dynamic lib
That's not the case. We already provide everything that allow the user to
relink the application. Even our toolchain is open sourced :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]