Skip to content

Commit

Permalink
Enable -pthread
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed May 25, 2024
1 parent bedfe58 commit 557f79b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ WASI_LIBC_EMULATION_FLAGS := -D_WASI_EMULATED_SIGNAL
ifeq ($(TRIPLE),wasm32-unknown-wasi)
WASI_LIBC_EMULATION_FLAGS += -DU_THREADING_NONE
else ifeq ($(TRIPLE),wasm32-unknown-wasip1-threads)
WASI_LIBC_EMULATION_FLAGS += -pthread
else
$(error TRIPLE must be wasm32-unknown-wasi or wasm32-unknown-wasip1-threads)
endif
Expand Down

0 comments on commit 557f79b

Please sign in to comment.