This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 57e0381 [chore] add -rtlib=compiler-rt for UBSAN under clang (#8647)
57e0381 is described below
commit 57e038120ff52155139376765e9ea8b0bed08053
Author: dataroaring <[email protected]>
AuthorDate: Mon Mar 28 10:21:55 2022 +0800
[chore] add -rtlib=compiler-rt for UBSAN under clang (#8647)
---
be/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/CMakeLists.txt b/be/CMakeLists.txt
index 4c1c9e8..90ea372 100644
--- a/be/CMakeLists.txt
+++ b/be/CMakeLists.txt
@@ -649,7 +649,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(UBSAN_LIBS -static-libubsan tcmalloc)
set(TSAN_LIBS -static-libtsan)
else ()
- set(UBSAN_LIBS tcmalloc)
+ set(UBSAN_LIBS -rtlib=compiler-rt tcmalloc)
endif ()
# Add sanitize static link flags or tcmalloc
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]