mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
link pthread in tests
This commit is contained in:
parent
5e9726946d
commit
a6cd65d498
@ -73,13 +73,13 @@ init() {
|
||||
cc="cc"
|
||||
;;
|
||||
*OpenBSD*)
|
||||
cc="cc -nopie"
|
||||
cc="cc -nopie -lpthread"
|
||||
;;
|
||||
*FreeBSD*)
|
||||
cc="cc"
|
||||
cc="cc -lpthread"
|
||||
;;
|
||||
*)
|
||||
cc="${CC:-cc} -no-pie"
|
||||
cc="${CC:-cc} -lpthread"
|
||||
testcc "$cc" || cc="${CC:-cc}"
|
||||
;;
|
||||
esac
|
||||
|
||||
Loading…
Reference in New Issue
Block a user