================
@@ -56,15 +57,12 @@ LLDB_BASE_DIR := $(THIS_FILE_DIR)/../../../../../
 # inherited all the way down to the process spawned for make.
 #----------------------------------------------------------------------
 ifeq "$(HOST_OS)" ""
-  HOST_OS := $(shell uname -s)
-endif
-
-ifneq (,$(findstring windows32,$(HOST_OS)))
-       HOST_OS := Windows_NT
-endif
-
-ifneq (,$(findstring MSYS_NT,$(HOST_OS)))
-       HOST_OS := Windows_NT
+    HOST_OS := $(shell uname -s)
+    ifneq (,$(or \
+            $(findstring windows32,$(HOST_OS)),\
+            $(findstring MSYS_NT,$(HOST_OS))))
+        HOST_OS := Windows_NT
+    endif
----------------
dzhidzhoev wrote:

I think that 
https://github.com/llvm/llvm-project/commit/7021e44b2f0e11717c0d82456bad0fed4a0b48f9
 is sufficient, though I didn't want to remove that from this commit.
Created https://github.com/llvm/llvm-project/pull/99535.

https://github.com/llvm/llvm-project/pull/99266
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to