diff options
author | Peter Valchev <pvalchev@cvs.openbsd.org> | 2004-07-11 16:26:28 +0000 |
---|---|---|
committer | Peter Valchev <pvalchev@cvs.openbsd.org> | 2004-07-11 16:26:28 +0000 |
commit | 9f34aab0df6d3d51ca67b12a966b93d61219da05 (patch) | |
tree | 53710386b3b97bb16f4a96153809860dcea38fd4 | |
parent | 69edafdc30c0ede2371b0e711aa7ed6491d40f2d (diff) |
move PICFLAG override for sparc after the inclusion of bsd.lib.mk; ok deraadt
forgot to commit this with the .mk changes, sparc was broken for a while
-rw-r--r-- | gnu/usr.bin/perl/Makefile.bsd-wrapper | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/usr.bin/perl/Makefile.bsd-wrapper b/gnu/usr.bin/perl/Makefile.bsd-wrapper index d17e4cec8f0..ed2e8af6648 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.63 2004/06/01 20:45:02 mickey Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.64 2004/07/11 16:26:27 pvalchev Exp $ # # Build wrapper for Perl 5.8.3 # @@ -35,11 +35,6 @@ POD2MAN= LD_LIBRARY_PATH=${.OBJDIR} ${.OBJDIR}/perl -I ${.OBJDIR}/lib \ .endif H2PH= /usr/bin/h2ph -# Need -fPIC, not -fpic on sparc -.if ($(TARGET_MACHINE_ARCH) == sparc) -PICFLAG=-fPIC -.endif - MANLOCALBUILD= yes MANALL= @@ -648,6 +643,12 @@ cleandir: .include <bsd.lib.mk> # These have to come after the inclusion of <bsd.lib.mk> + +# Need -fPIC, not -fpic on sparc +.if ($(TARGET_MACHINE_ARCH) == sparc) +PICFLAG=-fPIC +.endif + perl.lib: ${GENERATED} ${_LIBS} install.lib: |