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

via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 6 18:01:55 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")
----------------
trcrsired wrote:

That is probably because cmake treats Android differently, despite it can be treated the same.

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


More information about the cfe-commits mailing list