diff options
author | Dean Michael Berris <dberris@google.com> | 2016-12-06 23:08:45 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2016-12-06 23:08:45 +0000 |
commit | 4404e6c709ab41982c6793fc34bcece847a4dd14 (patch) | |
tree | 4768138d2d7d70caa572b98ab2afbe7d97373dea /lib/xray | |
parent | 09f09e25cd7f08c820c07b751c6ffd29259032cf (diff) |
[XRay][compiler-rt] Explicitly add dependency to pthread
This should fix the sanitizer bootstrap builds.
Follow-up to D26232.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288860 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/xray')
-rw-r--r-- | lib/xray/tests/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xray/tests/CMakeLists.txt b/lib/xray/tests/CMakeLists.txt index 72bfb91e0..6cb17934c 100644 --- a/lib/xray/tests/CMakeLists.txt +++ b/lib/xray/tests/CMakeLists.txt @@ -46,6 +46,7 @@ macro(add_xray_unittest testname) DEPS ${TEST_DEPS} LINK_FLAGS ${TARGET_LINK_FLAGS} -lstdc++ -lm ${CMAKE_THREAD_LIBS_INIT} + -lpthread -L${COMPILER_RT_LIBRARY_OUTPUT_DIR} -lclang_rt.xray-fdr-${arch}) endif() # FIXME: Figure out how to run even just the unit tests on APPLE. |