summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-08-28 10:54:07 +0000
committerjperkin <jperkin@pkgsrc.org>2014-08-28 10:54:07 +0000
commite31f8b71955f2b97f2a94c10f49f0cc15025295b (patch)
treec4c8a7c22f460001276c57cc7c966de5754166ec /mk
parent7d1b309dac474b768c657354ee57577c41e4289b (diff)
downloadpkgsrc-e31f8b71955f2b97f2a94c10f49f0cc15025295b.tar.gz
Remove any -Wl,--* arguments, they are guaranteed to be GNU ld specific
and unsupported by the SunOS linker. Tested to only have positive results in a bulk build.
Diffstat (limited to 'mk')
-rw-r--r--mk/platform/SunOS.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/platform/SunOS.mk b/mk/platform/SunOS.mk
index 642e2060ac7..2743dbbc733 100644
--- a/mk/platform/SunOS.mk
+++ b/mk/platform/SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: SunOS.mk,v 1.59 2014/08/21 15:31:24 jperkin Exp $
+# $NetBSD: SunOS.mk,v 1.60 2014/08/28 10:54:07 jperkin Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -79,7 +79,7 @@ _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:"-Wl,--[^ ]*"
BUILDLINK_TRANSFORM+= rm:-Wl,-export-dynamic
BUILDLINK_TRANSFORM+= rm:-export-dynamic