diff options
author | fhajny <fhajny@pkgsrc.org> | 2016-03-11 22:04:34 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2016-03-11 22:04:34 +0000 |
commit | 6a553fa6bb9755be90e94f865fa347ffbbf4b44f (patch) | |
tree | fad5b0506a9ddce604125c9062c2ac42dbf9d93b /mk | |
parent | 134027edc4e152c46a2fd3cdbdf8940d5da74a28 (diff) | |
download | pkgsrc-6a553fa6bb9755be90e94f865fa347ffbbf4b44f.tar.gz |
Strip --enable-new-dtags GNU ld arg on Darwin and SunOS.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/platform/Darwin.mk | 4 | ||||
-rw-r--r-- | mk/platform/SunOS.mk | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk index 2cd43409d8a..72460df5163 100644 --- a/mk/platform/Darwin.mk +++ b/mk/platform/Darwin.mk @@ -1,4 +1,4 @@ -# $NetBSD: Darwin.mk,v 1.80 2016/03/10 16:58:19 jperkin Exp $ +# $NetBSD: Darwin.mk,v 1.81 2016/03/11 22:04:34 fhajny Exp $ # # Variable definitions for the Darwin operating system. @@ -148,6 +148,8 @@ BUILDLINK_TRANSFORM+= rm:-Wl,-export-dynamic BUILDLINK_TRANSFORM+= rm:-Wl,-warn-common BUILDLINK_TRANSFORM+= rm:-Wl,--as-needed BUILDLINK_TRANSFORM+= rm:-Wl,--no-as-needed +BUILDLINK_TRANSFORM+= rm:-Wl,--disable-new-dtags +BUILDLINK_TRANSFORM+= rm:-Wl,--enable-new-dtags BUILDLINK_TRANSFORM+= rm:-Wl,--export-dynamic BUILDLINK_TRANSFORM+= rm:-Wl,--gc-sections BUILDLINK_TRANSFORM+= rm:-Wl,--no-undefined diff --git a/mk/platform/SunOS.mk b/mk/platform/SunOS.mk index a6d48df338a..024037da3e8 100644 --- a/mk/platform/SunOS.mk +++ b/mk/platform/SunOS.mk @@ -1,4 +1,4 @@ -# $NetBSD: SunOS.mk,v 1.68 2016/03/10 16:58:19 jperkin Exp $ +# $NetBSD: SunOS.mk,v 1.69 2016/03/11 22:04:34 fhajny Exp $ # # Variable definitions for the SunOS/Solaris operating system. @@ -77,6 +77,8 @@ _USE_RPATH= yes # add rpath to LDFLAGS # Remove flags specific to GNU ld. BUILDLINK_TRANSFORM+= rm:-Wl,--as-needed +BUILDLINK_TRANSFORM+= rm:-Wl,--disable-new-dtags +BUILDLINK_TRANSFORM+= rm:-Wl,--enable-new-dtags BUILDLINK_TRANSFORM+= rm:-Wl,--export-dynamic BUILDLINK_TRANSFORM+= rm:-Wl,--gc-sections BUILDLINK_TRANSFORM+= rm:-Wl,--no-as-needed |