summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2008-03-28 17:10:58 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2008-03-28 17:10:58 +0000
commit9af4511ff0340ab9a2aa2ca64e420def89d91e91 (patch)
treea47d5df1dbee4a95dbc09c9413726d4938bd9bd3 /share
parent930c8d41d6b5ebaa73de08a5fa225a5963f3f9f7 (diff)
Enable shared libraries on landisk.
The sh architecture required some different linkage than most platforms, This fixes those other requirements.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.own.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index 23dda66b38e..09af359039e 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.98 2007/11/03 15:14:32 espie Exp $
+# $OpenBSD: bsd.own.mk,v 1.99 2008/03/28 17:10:57 drahn Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
@@ -116,8 +116,7 @@ STATIC?= -static
# don't try to generate PIC versions of libraries on machines
# which don't support PIC.
-.if ${MACHINE_ARCH} == "m88k" || ${MACHINE_ARCH} == "vax" || \
- ${MACHINE_ARCH} == "sh"
+.if ${MACHINE_ARCH} == "m88k" || ${MACHINE_ARCH} == "vax"
NOPIC=
.endif