summaryrefslogtreecommitdiff
path: root/hints/openbsd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/openbsd.sh')
-rw-r--r--hints/openbsd.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/hints/openbsd.sh b/hints/openbsd.sh
index 7e68402088..a7d8bf2950 100644
--- a/hints/openbsd.sh
+++ b/hints/openbsd.sh
@@ -68,7 +68,11 @@ cat > UU/usethreads.cbu <<'EOCBU'
case "$usethreads" in
$define|true|[yY]*)
# any openbsd version dependencies with pthreads?
+ ccflags="-pthread $ccflags"
+ ldflags="-pthread $ldflags"
libswanted="$libswanted pthread"
+ # This is strange.
+ usevfork="$undef"
esac
EOCBU