[PATCH] D38044: Set ANDROID when any android abi is used, not just androideabi

Francis Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 10:58:12 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL313652: Set ANDROID when any android abi is used, not just androideabi (authored by fjricci).

Changed prior to commit:
  https://reviews.llvm.org/D38044?vs=115862&id=115868#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D38044

Files:
  compiler-rt/trunk/CMakeLists.txt


Index: compiler-rt/trunk/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/CMakeLists.txt
+++ compiler-rt/trunk/CMakeLists.txt
@@ -71,7 +71,7 @@
     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)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38044.115868.patch
Type: text/x-patch
Size: 448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170919/47926b9f/attachment-0001.bin>


More information about the llvm-commits mailing list