This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
OpenBSD pthreadness fixes from Tom Christiansen.
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 22 Mar 2000 05:25:40 +0000 (05:25 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 22 Mar 2000 05:25:40 +0000 (05:25 +0000)
p4raw-id: //depot/cfgperl@5867

hints/openbsd.sh

index 7e68402..a7d8bf2 100644 (file)
@@ -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