We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5aa799 commit 6a03fd2Copy full SHA for 6a03fd2
compiler-rt/lib/rtsan/CMakeLists.txt
@@ -84,6 +84,7 @@ else()
84
${RTSAN_COMMON_RUNTIME_OBJECT_LIBS}
85
LINK_FLAGS ${RTSAN_LINK_FLAGS}
86
CFLAGS ${RTSAN_CFLAGS}
87
+ LINK_LIBS ${RTSAN_LINK_LIBS}
88
PARENT_TARGET rtsan)
89
endif()
90
compiler-rt/lib/rtsan/tests/CMakeLists.txt
@@ -36,6 +36,8 @@ set(RTSAN_UNITTEST_LINK_FLAGS
36
${SANITIZER_TEST_CXX_LIBRARIES}
37
-no-pie)
38
39
+append_list_if(COMPILER_RT_HAS_LIBPTHREAD -pthread RTSAN_UNITTEST_LINK_FLAGS)
40
+
41
if (APPLE)
42
add_weak_symbols("sanitizer_common" WEAK_SYMBOL_LINK_FLAGS)
43
list(APPEND RTSAN_UNITTEST_LINK_FLAGS ${WEAK_SYMBOL_LINK_FLAGS})
0 commit comments