From 5e520c5e09a3e24665b389e547cc5b8ada07a748 Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Thu, 13 Jun 2013 07:23:18 +0000 Subject: [PATCH] [LSan] fix link flags for building unit tests llvm-svn: 183891 --- compiler-rt/lib/lsan/tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/lsan/tests/CMakeLists.txt b/compiler-rt/lib/lsan/tests/CMakeLists.txt index 749c09c088a8..38a5556e8e7a 100644 --- a/compiler-rt/lib/lsan/tests/CMakeLists.txt +++ b/compiler-rt/lib/lsan/tests/CMakeLists.txt @@ -15,7 +15,7 @@ set(LSAN_TESTS_CFLAGS -I${LSAN_SRC_DIR}) set(LSAN_TEST_LINK_FLAGS_COMMON - -lstdc++ -ldl -lpthread) + -lstdc++ -ldl -lpthread -lm) add_custom_target(LsanUnitTests) set_target_properties(LsanUnitTests PROPERTIES