From: millert Date: Fri, 7 Apr 2000 02:52:54 +0000 (+0000) Subject: need -fPIC on sparc for libperl.so X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=441a54b04a3cdbcfde46c3dc4b65226778dd80de;p=openbsd need -fPIC on sparc for libperl.so --- diff --git a/gnu/usr.bin/perl/Makefile.bsd-wrapper b/gnu/usr.bin/perl/Makefile.bsd-wrapper index 52d0b1b4fca..8873d6e5192 100644 --- a/gnu/usr.bin/perl/Makefile.bsd-wrapper +++ b/gnu/usr.bin/perl/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.33 2000/04/06 17:03:36 millert Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.34 2000/04/07 02:52:54 millert Exp $ # # Build wrapper for Perl 5.6.0 # @@ -23,6 +23,11 @@ POD2MAN= ./perl -I ./lib ./pod/pod2man .endif H2PH= /usr/bin/h2ph +# Need -fPIC, not -fpic on sparc +.if ($(TARGET_MACHINE_ARCH) == sparc) +PICFLAG=-fPIC +.endif + .ifndef NOMAN MANALL= Win32.cat1 a2p.cat1 c2ph.cat1 dprofpp.cat1 find2perl.cat1 \ h2ph.cat1 h2xs.cat1 perl.cat1 perl5004delta.cat1 \