diff options
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/CMakeLists.txt')
-rw-r--r-- | compiler-rt/lib/sanitizer_common/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/sanitizer_common/CMakeLists.txt b/compiler-rt/lib/sanitizer_common/CMakeLists.txt index c43e747fc89..4c24fceb3ed 100644 --- a/compiler-rt/lib/sanitizer_common/CMakeLists.txt +++ b/compiler-rt/lib/sanitizer_common/CMakeLists.txt @@ -44,10 +44,10 @@ else() ${SANITIZER_CFLAGS} ${TARGET_I386_CFLAGS}) list(APPEND SANITIZER_RUNTIME_LIBRARIES RTSanitizerCommon.i386) endif() - if(CAN_TARGET_ARM_ANDROID) + if(ANDROID) add_library(RTSanitizerCommon.arm.android OBJECT ${SANITIZER_SOURCES}) set_target_compile_flags(RTSanitizerCommon.arm.android - ${SANITIZER_CFLAGS} ${TARGET_ARM_ANDROID_CFLAGS}) + ${SANITIZER_CFLAGS}) list(APPEND SANITIZER_RUNTIME_LIBRARIES RTSanitizerCommon.arm.android) endif() endif() |