summaryrefslogtreecommitdiff
path: root/mk/platform
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2014-03-19 16:44:08 +0000
committerbsiegert <bsiegert@pkgsrc.org>2014-03-19 16:44:08 +0000
commit3e0dd8c380cb33bb4e634f29344d604a15ec8171 (patch)
tree526643a48314d3ce7aa1019c2f67f4d8e84fda6f /mk/platform
parent52d967aa6f5d4507704987f8db052733c5da70c5 (diff)
downloadpkgsrc-3e0dd8c380cb33bb4e634f29344d604a15ec8171.tar.gz
MirBSD: remove -fvisibility=hidden until there is a version of gcc that
supports it.
Diffstat (limited to 'mk/platform')
-rw-r--r--mk/platform/MirBSD.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/platform/MirBSD.mk b/mk/platform/MirBSD.mk
index f1f1b931103..98230240f3b 100644
--- a/mk/platform/MirBSD.mk
+++ b/mk/platform/MirBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: MirBSD.mk,v 1.9 2013/04/28 12:53:56 obache Exp $
+# $NetBSD: MirBSD.mk,v 1.10 2014/03/19 16:44:08 bsiegert Exp $
#
# Variable definitions for the MirOS BSD operating system.
@@ -45,7 +45,9 @@ _PATCH_CAN_BACKUP= yes # native patch(1) can make backups
_PATCH_BACKUP_ARG?= -V simple -z # switch to patch(1) for backup suffix
_USE_RPATH= yes # add rpath to LDFLAGS
-BUILDLINK_TRANSFORM+= rm:-ldl # libdl.a is an empty static library
+BUILDLINK_TRANSFORM+= rm:-ldl # libdl.a is an empty static library
+BUILDLINK_TRANSFORM+= rm:-fvisibility=hidden # at least until there is a newer gcc
+
# flags passed to the linker to extract all symbols from static archives.
# this is GNU ld.