diff options
Diffstat (limited to 'lib/interception/CMakeLists.txt')
-rw-r--r-- | lib/interception/CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/interception/CMakeLists.txt b/lib/interception/CMakeLists.txt index 1dfdaffb6dc13..b77f2d1562b7f 100644 --- a/lib/interception/CMakeLists.txt +++ b/lib/interception/CMakeLists.txt @@ -10,6 +10,7 @@ set(INTERCEPTION_SOURCES include_directories(..) set(INTERCEPTION_CFLAGS ${SANITIZER_COMMON_CFLAGS}) +append_no_rtti_flag(INTERCEPTION_CFLAGS) if(APPLE) # Build universal binary on APPLE. @@ -19,10 +20,6 @@ if(APPLE) SOURCES ${INTERCEPTION_SOURCES} CFLAGS ${INTERCEPTION_CFLAGS}) endforeach() -elseif(ANDROID) - add_library(RTInterception.arm.android OBJECT ${INTERCEPTION_SOURCES}) - set_target_compile_flags(RTInterception.arm.android - ${INTERCEPTION_CFLAGS}) else() # Otherwise, build separate libraries for each target. foreach(arch ${SANITIZER_COMMON_SUPPORTED_ARCH}) |