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

via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 6 17:44:29 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:

I use "Linux" to do canadian compilation from linux to android without using android NDK. That is why this is not correct.

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


More information about the cfe-commits mailing list