pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/wrapper drop -Wl,--export-dynamic, as Solaris ld(1)...
details: https://anonhg.NetBSD.org/pkgsrc/rev/93b0ccf96553
branches: trunk
changeset: 498258:93b0ccf96553
user: grant <grant%pkgsrc.org@localhost>
date: Thu Aug 18 05:02:53 2005 +0000
description:
drop -Wl,--export-dynamic, as Solaris ld(1) default behaviour is to
export all dynamic symbols.
diffstat:
mk/wrapper/transform-sunpro-cc | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r ddbb3271a8a3 -r 93b0ccf96553 mk/wrapper/transform-sunpro-cc
--- a/mk/wrapper/transform-sunpro-cc Thu Aug 18 00:57:30 2005 +0000
+++ b/mk/wrapper/transform-sunpro-cc Thu Aug 18 05:02:53 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: transform-sunpro-cc,v 1.6 2005/08/13 06:37:18 grant Exp $
+# $NetBSD: transform-sunpro-cc,v 1.7 2005/08/18 05:02:53 grant Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -71,6 +71,15 @@
addtocache=yes
;;
######################################################################
+# Solaris' linker exports all dynamic symbols by default when building
+# a shared object.
+######################################################################
+-Wl,--export-dynamic)
+ arg=
+ msg_log $wrapperlog " (transform-sunpro-cc) to: $arg"
+ addtocache=yes
+ ;;
+######################################################################
# SunPro compiler accepts -Wl,* so just pass it on through.
######################################################################
-Wl,*)
Home |
Main Index |
Thread Index |
Old Index