[llvm-commits] [compiler-rt] r170552 - /compiler-rt/trunk/lib/asan/tests/CMakeLists.txt
Alexey Samsonov
samsonov at google.com
Wed Dec 19 07:52:30 PST 2012
Author: samsonov
Date: Wed Dec 19 09:52:30 2012
New Revision: 170552
URL: http://llvm.org/viewvc/llvm-project?rev=170552&view=rev
Log:
[ASan] explicitly link with dynamic ASan runtime when building unittests on Android
Modified:
compiler-rt/trunk/lib/asan/tests/CMakeLists.txt
Modified: compiler-rt/trunk/lib/asan/tests/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/CMakeLists.txt?rev=170552&r1=170551&r2=170552&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/asan/tests/CMakeLists.txt Wed Dec 19 09:52:30 2012
@@ -173,7 +173,7 @@
set_target_properties(AsanTest PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${OUTPUT_DIR})
set_target_link_flags(AsanTest ${ASAN_LINK_FLAGS})
- add_dependencies(AsanTest ${ASAN_RUNTIME_LIBRARIES})
+ target_link_libraries(AsanTest clang_rt.asan-arm-android)
# Add unit test to test suite.
add_dependencies(AsanUnitTests AsanTest)
endif()
More information about the llvm-commits
mailing list