This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
574d6ba
)
The change of not needing -pthread in FreeBSD 5.x
author
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 11 Sep 2003 08:25:13 +0000
(08:25 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 11 Sep 2003 08:25:13 +0000
(08:25 +0000)
is very recent (Sep 3) (from Anton Berezin).
p4raw-id: //depot/perl@21181
hints/freebsd.sh
patch
|
blob
|
blame
|
history
diff --git
a/hints/freebsd.sh
b/hints/freebsd.sh
index
901415e
..
7e75ddd
100644
(file)
--- a/
hints/freebsd.sh
+++ b/
hints/freebsd.sh
@@
-231,7
+231,9
@@
EOM
;;
5.*) d_gethostbyaddr_r="undef"
d_gethostbyaddr_r_proto="0"
- # no need for -pthread in 5.*
+ if [ `/sbin/sysctl -n kern.osreldate` -lt 500016 ]; then
+ ldflags="-pthread $ldflags"
+ fi
;;
*) ldflags="-pthread $ldflags"
;;