pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/platform
Module Name: pkgsrc
Committed By: jperkin
Date: Mon Nov 21 18:25:54 UTC 2022
Modified Files:
pkgsrc/mk/platform: SunOS.mk
Log Message:
mk: Remove generic SunOS linker argument removals.
While these were useful in helping many packages to build out of the box,
it ended up resulting in some packages installing broken configuration
files as their configure tests for supported flags were passing.
For example, ruby packages were shipping an rbconfig.rb with LDFLAGS
containing -Wl,--no-as-needed, resulting in any ruby software built
outside of pkgsrc that required a compiler always failing.
To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 pkgsrc/mk/platform/SunOS.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/platform/SunOS.mk
diff -u pkgsrc/mk/platform/SunOS.mk:1.85 pkgsrc/mk/platform/SunOS.mk:1.86
--- pkgsrc/mk/platform/SunOS.mk:1.85 Sat Oct 1 14:23:26 2022
+++ pkgsrc/mk/platform/SunOS.mk Mon Nov 21 18:25:54 2022
@@ -1,4 +1,4 @@
-# $NetBSD: SunOS.mk,v 1.85 2022/10/01 14:23:26 jperkin Exp $
+# $NetBSD: SunOS.mk,v 1.86 2022/11/21 18:25:54 jperkin Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -83,20 +83,6 @@ _PATCH_CAN_BACKUP= yes # native patch(1
_PATCH_BACKUP_ARG?= -b -V simple -z # switch to patch(1) for backup suffix
_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
-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
-
# Convert GNU ld flags to native SunOS ld flags where possible.
BUILDLINK_TRANSFORM+= opt:-Wl,--rpath:-Wl,-R
Home |
Main Index |
Thread Index |
Old Index