From c9e7ea8bdb2ffd2e9c7d248521390667f1b8a0f5 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Sat, 24 Aug 2024 13:13:05 +0900 Subject: [PATCH] debug --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 59f0f9bd..bddeef28 100644 --- a/Makefile +++ b/Makefile @@ -621,7 +621,7 @@ PIC_OBJS = \ # Note: --allow-undefined-file=linker-provided-symbols.txt is # a workaround for https://github.com/llvm/llvm-project/issues/103592 $(SYSROOT_LIB)/libc.so: $(OBJDIR)/libc.so.a $(BUILTINS_LIB) - $(CC) -resource-dir C:/wasi-sdk/sysroot/install/wasi-resource-dir --target=$(TARGET_TRIPLE) -mthread-model single -isystem "C:/wasi-sdk/sysroot/install/share/wasi-sysroot/include/wasm32-wasi" -nodefaultlibs -shared --sysroot=$(SYSROOT) \ + $(CC) -resource-dir C:/wasi-sdk/sysroot/install/wasi-resource-dir --target=$(TARGET_TRIPLE) -isystem "C:/wasi-sdk/sysroot/install/share/wasi-sysroot/include/wasm32-wasi" -nodefaultlibs -shared --sysroot=$(SYSROOT) \ -o $@ -Wl,--whole-archive $< -Wl,--no-whole-archive $(BUILTINS_LIB) \ -Wl,--allow-undefined-file=linker-provided-symbols.txt