summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-07-04 17:56:55 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-07-04 17:56:55 +0000
commit5f4a7b14cf8a489690f75891ca7a375de899f92c (patch)
treed2ce030829b0bd40bf0955facba45ca0010d914c
parentc9438304f1897b119cad48232cdf0e4b1506f480 (diff)
gcc's -fvisibility=hidden isn't the behavior we wanted when cleaning up
symbol exports, so delete ${VISIBILITY_HIDDEN} as unused ok kettenis@ deraadt@
-rw-r--r--share/mk/bsd.own.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index 26645d7222a..a875eefaee5 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.173 2016/03/09 16:28:47 deraadt Exp $
+# $OpenBSD: bsd.own.mk,v 1.174 2016/07/04 17:56:54 guenther Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
@@ -45,10 +45,6 @@ PIE_DEFAULT?=
.endif
.endfor
-.if ${COMPILER_VERSION} == "gcc4"
-VISIBILITY_HIDDEN?=-fvisibility=hidden
-.endif
-
# where the system object and source trees are kept; can be configurable
# by the user in case they want them in ~/foosrc and ~/fooobj, for example
BSDSRCDIR?= /usr/src