Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Add NetBSD/vax ELF hook.



details:   https://anonhg.NetBSD.org/src/rev/605762569de3
branches:  trunk
changeset: 494456:605762569de3
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jul 06 16:48:48 2000 +0000

description:
Add NetBSD/vax ELF hook.

diffstat:

 share/mk/bsd.lib.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 1510ca81609b -r 605762569de3 share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk       Thu Jul 06 16:30:47 2000 +0000
+++ b/share/mk/bsd.lib.mk       Thu Jul 06 16:48:48 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.lib.mk,v 1.171 2000/07/03 21:08:55 christos Exp $
+#      $NetBSD: bsd.lib.mk,v 1.172 2000/07/06 16:48:48 matt Exp $
 #      @(#)bsd.lib.mk  8.3 (Berkeley) 4/22/94
 
 .if !target(__initialized__)
@@ -102,6 +102,10 @@
 AFLAGS+= -fPIC
 AS+=   -KPIC
 
+.elif ${MACHINE_ARCH} == "vax" && ${OBJECT_FMT} == "ELF"
+# On the VAX, all object are PIC by default, not just sharedlibs.
+MKPICLIB= no
+
 .elif ${MACHINE_ARCH} == "sparc" && ${OBJECT_FMT} == "ELF"
 
 CPICFLAGS ?= -fPIC -DPIC



Home | Main Index | Thread Index | Old Index