forked from OSchip/llvm-project
[LSan] fix link flags for building unit tests
llvm-svn: 183891
This commit is contained in:
parent
ab341c62b3
commit
5e520c5e09
|
@ -15,7 +15,7 @@ set(LSAN_TESTS_CFLAGS
|
||||||
-I${LSAN_SRC_DIR})
|
-I${LSAN_SRC_DIR})
|
||||||
|
|
||||||
set(LSAN_TEST_LINK_FLAGS_COMMON
|
set(LSAN_TEST_LINK_FLAGS_COMMON
|
||||||
-lstdc++ -ldl -lpthread)
|
-lstdc++ -ldl -lpthread -lm)
|
||||||
|
|
||||||
add_custom_target(LsanUnitTests)
|
add_custom_target(LsanUnitTests)
|
||||||
set_target_properties(LsanUnitTests PROPERTIES
|
set_target_properties(LsanUnitTests PROPERTIES
|
||||||
|
|
Loading…
Reference in New Issue