From 42fb96652b75e328d409666de96f7bca1629a537 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Fri, 29 May 2015 22:57:15 +0000 Subject: [PATCH] [sanitizer] Add -lrt to dyndd link line. llvm-svn: 238626 --- compiler-rt/lib/tsan/dd/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler-rt/lib/tsan/dd/CMakeLists.txt b/compiler-rt/lib/tsan/dd/CMakeLists.txt index 981c1fb..3ab2145 100644 --- a/compiler-rt/lib/tsan/dd/CMakeLists.txt +++ b/compiler-rt/lib/tsan/dd/CMakeLists.txt @@ -12,6 +12,7 @@ set(DD_SOURCES set(DD_LINKLIBS) append_list_if(COMPILER_RT_HAS_LIBDL dl DD_LINKLIBS) +append_list_if(COMPILER_RT_HAS_LIBRT rt DD_LINKLIBS) append_list_if(COMPILER_RT_HAS_LIBPTHREAD pthread DD_LINKLIBS) add_custom_target(dd) -- 2.7.4