[Lldb-commits] [lldb] [lldb][test] Add support for building Wasm test inferiors (PR #192872)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 20 02:51:01 PDT 2026


================
@@ -172,7 +176,11 @@ ifeq "$(OS)" "Darwin"
 else
     ifneq "$(SDKROOT)" ""
         SYSROOT_FLAGS := --sysroot "$(SDKROOT)"
-        GCC_TOOLCHAIN_FLAGS := --gcc-toolchain="$(SDKROOT)/usr"
+        ifeq "$(OS)" "Wasm"
+            GCC_TOOLCHAIN_FLAGS :=
----------------
DavidSpickett wrote:

Probably a silly question but can you explain why --gcc-toolchain does not work in the same fashion here?

I guess the simple answer is: the WASI SDK or whatever it is, isn't actually a gcc toolchain or in the layout of one.

Just want to check if there's more to it than that.

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


More information about the lldb-commits mailing list