mirror of
https://github.com/libffi/libffi.git
synced 2026-01-26 10:07:53 +00:00
fix tsan tests on FreeBSD by linking to pthread (#944)
This commit is contained in:
parent
d6005499c2
commit
3276df05a7
@ -407,6 +407,10 @@ proc libffi_target_compile { source dest type options } {
|
||||
lappend options "libs= -lpthread"
|
||||
}
|
||||
|
||||
if { [string match "*-*-freebsd*" $target_triplet] } {
|
||||
lappend options "libs= -lpthread"
|
||||
}
|
||||
|
||||
lappend options "libs= -lffi"
|
||||
|
||||
if { [string match "aarch64*-*-linux*" $target_triplet] } {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user