summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-04-07 02:52:55 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-04-07 02:52:55 +0000
commitf973a9ad1d1b6cfada93966266ad9e7462fcfc77 (patch)
tree0bb02ef3931c4d0a60c81c240aebae1b2e46acf6 /gnu/usr.bin
parent76ab54e4b5b9101833a3786b48086ca67f60ad90 (diff)
need -fPIC on sparc for libperl.so
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/perl/Makefile.bsd-wrapper7
1 files changed, 6 insertions, 1 deletions
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 \