From: guenther Date: Mon, 4 Jul 2016 17:56:54 +0000 (+0000) Subject: gcc's -fvisibility=hidden isn't the behavior we wanted when cleaning up X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=180f70130493918fb66fa6a041a98416c05643a4;p=openbsd gcc's -fvisibility=hidden isn't the behavior we wanted when cleaning up symbol exports, so delete ${VISIBILITY_HIDDEN} as unused ok kettenis@ deraadt@ --- 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