ARC: Link tests with pthread library

Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com>
This commit is contained in:
Yuriy Kolerov
2016-07-28 18:48:23 +03:00
parent 40e4063ab4
commit 31362d785e
+4
View File
@@ -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]
}