summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/interception
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2012-08-27 14:28:27 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2012-08-27 14:28:27 +0000
commitf72f08affc71970711b590eb6579be49e5aba25e (patch)
tree4e735d73cab1ad356c64ed7e3bbb2122349025ef /compiler-rt/lib/interception
parent28d8be2d86c5b7e7049ff1aff562c468dc6db17c (diff)
downloadbcm5719-llvm-f72f08affc71970711b590eb6579be49e5aba25e.tar.gz
bcm5719-llvm-f72f08affc71970711b590eb6579be49e5aba25e.zip
CMake build rules for ASan/Android runtime.
llvm-svn: 162675
Diffstat (limited to 'compiler-rt/lib/interception')
-rw-r--r--compiler-rt/lib/interception/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
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()
OpenPOWER on IntegriCloud