summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-07-05 15:10:00 +0000
committerjperkin <jperkin@pkgsrc.org>2013-07-05 15:10:00 +0000
commite8ba95d3b6f602ef8b6c16e28aeb8ec3e5800f0f (patch)
tree0a8a70433f8ff35aeb19ce4f9cf361d96fad414e /mk
parent1279289a9ba798da081896696a1bd02b6b4f184d (diff)
downloadpkgsrc-e8ba95d3b6f602ef8b6c16e28aeb8ec3e5800f0f.tar.gz
Apply removal of -export-dynamic for SunOS across all of pkgsrc.
Avoids lots of copy/paste and fixes a bunch of packages which hadn't been looked at yet.
Diffstat (limited to 'mk')
-rw-r--r--mk/platform/SunOS.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/platform/SunOS.mk b/mk/platform/SunOS.mk
index 6caa3ca2c34..8c753130229 100644
--- a/mk/platform/SunOS.mk
+++ b/mk/platform/SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: SunOS.mk,v 1.51 2013/05/16 17:09:07 jperkin Exp $
+# $NetBSD: SunOS.mk,v 1.52 2013/07/05 15:10:00 jperkin Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -67,6 +67,10 @@ _USE_RPATH= yes # add rpath to LDFLAGS
_OPSYS_WHOLE_ARCHIVE_FLAG= -z allextract
_OPSYS_NO_WHOLE_ARCHIVE_FLAG= -z defaultextract
+# Remove flags specific to GNU ld.
+BUILDLINK_TRANSFORM+= rm:-Wl,--export-dynamic
+BUILDLINK_TRANSFORM+= rm:-export-dynamic
+
# Solaris has /usr/include/iconv.h, but it's not GNU iconv, so mark it
# incompatible.
_INCOMPAT_ICONV= SunOS-*-*