From f72f08affc71970711b590eb6579be49e5aba25e Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Mon, 27 Aug 2012 14:28:27 +0000 Subject: CMake build rules for ASan/Android runtime. llvm-svn: 162675 --- compiler-rt/lib/interception/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'compiler-rt/lib/interception') diff --git a/compiler-rt/lib/interception/CMakeLists.txt b/compiler-rt/lib/interception/CMakeLists.txt index aacecf9b8b0..55046e91a28 100644 --- a/compiler-rt/lib/interception/CMakeLists.txt +++ b/compiler-rt/lib/interception/CMakeLists.txt @@ -43,4 +43,9 @@ else() set_target_compile_flags(RTInterception.i386 ${INTERCEPTION_CFLAGS} ${TARGET_I386_CFLAGS}) endif() + if(CAN_TARGET_ARM_ANDROID) + add_library(RTInterception.arm.android OBJECT ${INTERCEPTION_SOURCES}) + set_target_compile_flags(RTInterception.arm.android + ${INTERCEPTION_CFLAGS} ${TARGET_ARM_ANDROID_CFLAGS}) + endif() endif() -- cgit v1.2.3