[Lldb-commits] [lldb] [LLDB][test] Update Makefile.rules to support Windows host+Linux target (PR #99266)
Vladislav Dzhidzhoev via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 18 10:57:32 PDT 2024
================
@@ -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
More information about the lldb-commits
mailing list