From 70b34efece027faa843520709b300242e0526154 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Sun, 8 Jun 2025 07:53:00 -0400 Subject: [PATCH] feat(testsuite): add -lpthread flag for wasm32 targets --- testsuite/lib/libffi.exp | 1 + 1 file changed, 1 insertion(+) diff --git a/testsuite/lib/libffi.exp b/testsuite/lib/libffi.exp index 719411f7..10419648 100644 --- a/testsuite/lib/libffi.exp +++ b/testsuite/lib/libffi.exp @@ -435,6 +435,7 @@ proc libffi_target_compile { source dest type options } { # which causes it to be seen as unsupported. if { [string match "wasm32-*" $target_triplet] } { lappend options "additional_flags=-Wno-unused-command-line-argument" + lappend options "libs= -lpthread" } verbose "options: $options"