mirror of
https://github.com/libffi/libffi.git
synced 2026-01-26 10:07:53 +00:00
feat(testsuite): add -lpthread flag for wasm32 targets
This commit is contained in:
parent
f530522ce4
commit
70b34efece
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user