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:
9c0670e
)
OpenBSD flags tweak from Todd C. Miller, tweaked some more by Abigail.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 3 Oct 2000 00:10:48 +0000
(
00:10
+0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 3 Oct 2000 00:10:48 +0000
(
00:10
+0000)
p4raw-id: //depot/perl@7122
hints/openbsd.sh
patch
|
blob
|
blame
|
history
diff --git
a/hints/openbsd.sh
b/hints/openbsd.sh
index
a7d8bf2
..
5b79709
100644
(file)
--- a/
hints/openbsd.sh
+++ b/
hints/openbsd.sh
@@
-37,7
+37,15
@@
OpenBSD.alpha|OpenBSD.mips|OpenBSD.powerpc|OpenBSD.vax)
# we use -fPIC here because -fpic is *NOT* enough for some of the
# extensions like Tk on some OpenBSD platforms (ie: sparc)
cccdlflags="-DPIC -fPIC $cccdlflags"
- lddlflags="-Bshareable $lddlflags"
+ case "$osvers" in
+ [01].*|2.[0-7]|2.[0-7].*)
+ lddlflags="-Bshareable $lddlflags"
+ ;;
+ *) # from 2.8 onwards
+ ld=${cc:-cc}
+ lddlflags="-shared $lddlflags"
+ ;;
+ esac
;;
esac