[llvm] [clang] [mlir] [compiler-rt] [clang-tools-extra] [lldb] Fix Multiple Build Errors on different platforms (PR #77216)

Anton Korobeynikov via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 6 17:42:10 PST 2024


================
@@ -108,13 +108,9 @@ else()
       linux/HostInfoLinux.cpp
       linux/LibcGlue.cpp
       linux/Support.cpp
+      android/HostInfoAndroid.cpp
+      android/LibcGlue.cpp
       )
-    if (CMAKE_SYSTEM_NAME MATCHES "Android")
----------------
asl wrote:

What is wrong with android detection? I doubt this is a proper solution

https://github.com/llvm/llvm-project/pull/77216


More information about the cfe-commits mailing list