From c7fea488506545f67b30c392071259e6b1fbbe28 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 12 Aug 2024 16:30:07 -0700 Subject: [PATCH] Add `-Wl,--unresolved-symbols=import-dynamic` to wasi-libc --- .gitmodules | 2 +- cmake/wasi-sdk-sysroot.cmake | 2 +- src/wasi-libc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitmodules b/.gitmodules index 0691635ce..5329d735b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,7 +3,7 @@ url = https://github.com/llvm/llvm-project [submodule "src/wasi-libc"] path = src/wasi-libc - url = https://github.com/WebAssembly/wasi-libc + url = https://github.com/alexcrichton/wasi-libc [submodule "src/config"] path = src/config url = https://git.savannah.gnu.org/git/config.git diff --git a/cmake/wasi-sdk-sysroot.cmake b/cmake/wasi-sdk-sysroot.cmake index d0c4287b9..576327fcb 100644 --- a/cmake/wasi-sdk-sysroot.cmake +++ b/cmake/wasi-sdk-sysroot.cmake @@ -142,7 +142,7 @@ function(define_wasi_libc_sub target target_suffix lto) list(JOIN extra_cflags_list " " extra_cflags) ExternalProject_Add(wasi-libc-${target}${target_suffix}-build - # Currently wasi-libc doesn't support out-of-tree builds so feigh a + # Currently wasi-libc doesn't support out-of-tree builds so feign a # "download command" which copies the source tree to a different location # so out-of-tree builds are supported. DOWNLOAD_COMMAND diff --git a/src/wasi-libc b/src/wasi-libc index b9ef79d7d..72efd3483 160000 --- a/src/wasi-libc +++ b/src/wasi-libc @@ -1 +1 @@ -Subproject commit b9ef79d7dbd47c6c5bafdae760823467c2f60b70 +Subproject commit 72efd34839d6020d29b706d5715eb690d2acb300