pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/platform mk/platform: Remove unsupported Darwin/Sun...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a9432b137e3
branches:  trunk
changeset: 370058:4a9432b137e3
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Oct 10 13:57:23 2017 +0000

description:
mk/platform: Remove unsupported Darwin/SunOS linker arguments.

diffstat:

 mk/platform/Darwin.mk |  3 ++-
 mk/platform/SunOS.mk  |  4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r fb3b195250ec -r 4a9432b137e3 mk/platform/Darwin.mk
--- a/mk/platform/Darwin.mk     Tue Oct 10 13:51:21 2017 +0000
+++ b/mk/platform/Darwin.mk     Tue Oct 10 13:57:23 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.87 2017/07/09 17:03:12 schmonz Exp $
+# $NetBSD: Darwin.mk,v 1.88 2017/10/10 13:57:23 jperkin Exp $
 #
 # Variable definitions for the Darwin operating system.
 
@@ -145,6 +145,7 @@
 
 # Remove common GNU ld arguments incompatible with the Darwin linker.
 BUILDLINK_TRANSFORM+=  rm:-Wl,-O1
+BUILDLINK_TRANSFORM+=  rm:-Wl,-O2
 BUILDLINK_TRANSFORM+=  rm:-Wl,-Bdynamic
 BUILDLINK_TRANSFORM+=  rm:-Wl,-Bsymbolic
 BUILDLINK_TRANSFORM+=  rm:-Wl,-export-dynamic
diff -r fb3b195250ec -r 4a9432b137e3 mk/platform/SunOS.mk
--- a/mk/platform/SunOS.mk      Tue Oct 10 13:51:21 2017 +0000
+++ b/mk/platform/SunOS.mk      Tue Oct 10 13:57:23 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: SunOS.mk,v 1.76 2017/06/21 08:20:10 jperkin Exp $
+# $NetBSD: SunOS.mk,v 1.77 2017/10/10 13:57:23 jperkin Exp $
 #
 # Variable definitions for the SunOS/Solaris operating system.
 
@@ -85,6 +85,8 @@
 BUILDLINK_TRANSFORM+=  rm:-Wl,--no-as-needed
 BUILDLINK_TRANSFORM+=  rm:-Wl,--warn-common
 BUILDLINK_TRANSFORM+=  rm:-Wl,--warn-shared-textrel
+BUILDLINK_TRANSFORM+=  rm:-Wl,-O1
+BUILDLINK_TRANSFORM+=  rm:-Wl,-O2
 BUILDLINK_TRANSFORM+=  rm:-Wl,-export-dynamic
 BUILDLINK_TRANSFORM+=  rm:-export-dynamic
 



Home | Main Index | Thread Index | Old Index