summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-02-02 13:38:42 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-02-02 13:38:42 +0000
commit6407023f417a600412a06a734d5345f0adf7c45e (patch)
tree6c8962adf9a5fa6148928b59e510631ed7aced20 /share
parentb4cd1dbb85923a30821bf0dc12a01fceedbec610 (diff)
m68k ports are now ELF citizens.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.own.mk11
1 files changed, 2 insertions, 9 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index bdeb1fe5d06..39c9c168739 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.134 2013/01/31 23:35:02 miod Exp $
+# $OpenBSD: bsd.own.mk,v 1.135 2013/02/02 13:38:41 miod Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
@@ -22,7 +22,7 @@ TCP_WRAPPERS?= yes
# Set `DEBUGLIBS' to `yes' to build libraries with debugging symbols
DEBUGLIBS?= no
# Set toolchain to be able to know differences.
-.if ${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "vax"
+.if ${MACHINE_ARCH} == "vax"
ELF_TOOLCHAIN?= no
.else
ELF_TOOLCHAIN?= yes
@@ -149,13 +149,6 @@ NOPIC=
PICFLAG?=-fPIC
.else
PICFLAG?=-fpic
-. if ${MACHINE_ARCH} == "m68k"
-# Function CSE makes gas -k not recognize external function calls as lazily
-# resolvable symbols, thus sometimes making ld.so report undefined symbol
-# errors on symbols found in shared library members that would never be
-# called. Ask niklas@openbsd.org for details.
-PICFLAG+=-fno-function-cse
-. endif
.endif
.if ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"