Set ANDROID when any android abi is used, not just androideabi
Reviewers: compnerd, beanz
Subscribers: srhines, mgorny, llvm-commits
@@ -71,7 +71,7 @@ if ("${COMPILER_RT_DEFAULT_TARGET_ABI}" MATCHES "hf$")
set(COMPILER_RT_DEFAULT_TARGET_ARCH "armhf")
endif()
endif()
-if ("${COMPILER_RT_DEFAULT_TARGET_ABI}" STREQUAL "androideabi")
+if ("${COMPILER_RT_DEFAULT_TARGET_ABI}" MATCHES "^android")
set(ANDROID 1)
endif()
pythonize_bool(ANDROID)
