Skip to content

Commit 1ef086f

Browse files
committed
remove the -pthread flag for building WASM Apps
1 parent f93ffbb commit 1ef086f

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

tests/unit/shared-heap/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ set(WAMR_BUILD_FAST_INTERP 1)
1414
set(WAMR_BUILD_JIT 0)
1515
set(WAMR_BUILD_MEMORY64 0)
1616
set(WAMR_BUILD_SHARED_HEAP 1)
17-
set(WAMR_BUILD_SHARED_MEMORY 1)
1817

1918
# Compile wasm modules
2019
set(WASI_SDK_DIR "/opt/wasi-sdk")

tests/unit/shared-heap/wasm-apps/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if (NOT DEFINED WASI_SDK_DIR)
1414
set(WASI_SDK_DIR "/opt/wasi-sdk")
1515
endif ()
1616

17-
set(CMAKE_C_FLAGS "-nostdlib -pthread -Qunused-arguments")
17+
set(CMAKE_C_FLAGS "-nostdlib -Qunused-arguments")
1818
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -z stack-size=8192 -nostdlib -O0")
1919
set(CMAKE_C_COMPILER_TARGET "wasm32")
2020
set(CMAKE_C_COMPILER "${WASI_SDK_DIR}/bin/clang")

0 commit comments

Comments
 (0)