mirror of
https://github.com/partic2/libffi
synced 2026-11-09 17:47:19 +00:00
ARC: Link tests with pthread library
Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com>
This commit is contained in:
@@ -219,6 +219,10 @@ proc libffi_target_compile { source dest type options } {
|
||||
lappend options "c++"
|
||||
}
|
||||
|
||||
if { [string match "arc*-*-linux*" $target_triplet] } {
|
||||
lappend options "libs= -lpthread"
|
||||
}
|
||||
|
||||
verbose "options: $options"
|
||||
return [target_compile $source $dest $type $options]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user