summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorJonathan Adams <t12nslookup@gmail.com>2012-03-16 21:50:37 +0100
committerMichael Stahl <mstahl@redhat.com>2012-03-16 22:18:42 +0100
commit1ffb10015d971d66239691123937cd7aedc0990f (patch)
tree53c1a0bd3dfb9434215d1bbc36c2de96f82b5a57 /solenv
parent3ecb3f88780270e82a7d49fe22a59eca87512b00 (diff)
adapt unxsog{i,s}.mk to Solaris ld
Diffstat (limited to 'solenv')
-rw-r--r--solenv/inc/unxsogi.mk7
-rw-r--r--solenv/inc/unxsogs.mk4
2 files changed, 6 insertions, 5 deletions
diff --git a/solenv/inc/unxsogi.mk b/solenv/inc/unxsogi.mk
index 4e811655bfd3..49ca1f3190c6 100644
--- a/solenv/inc/unxsogi.mk
+++ b/solenv/inc/unxsogi.mk
@@ -78,16 +78,17 @@ LINK*=$(CXX)
LINKC*=$(CC)
LINKFLAGS=
-LINKFLAGSAPPGUI=-Wl,-export-dynamic
+#LINKFLAGSAPPGUI=-Wl,-export-dynamic
LINKFLAGSSHLGUI=-shared
-LINKFLAGSAPPCUI=-Wl,-export-dynamic
+#LINKFLAGSAPPCUI=-Wl,-export-dynamic
LINKFLAGSSHLCUI=-shared
LINKFLAGSTACK=
LINKFLAGSPROF=
LINKFLAGSDEBUG=-g
LINKFLAGSOPT=
-LINKVERSIONMAPFLAG=-Wl,--version-script
+#LINKVERSIONMAPFLAG=-Wl,--version-script
+LINKVERSIONMAPFLAG=-Wl,-M
# enable visibility define in "sal/types.h"
.IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
diff --git a/solenv/inc/unxsogs.mk b/solenv/inc/unxsogs.mk
index e25d690ce49f..6a17f5969f90 100644
--- a/solenv/inc/unxsogs.mk
+++ b/solenv/inc/unxsogs.mk
@@ -77,9 +77,9 @@ LINK*=$(CXX)
LINKC*=$(CC)
LINKFLAGS=
-LINKFLAGSAPPGUI=-Wl,-export-dynamic
+#LINKFLAGSAPPGUI=-Wl,-export-dynamic
LINKFLAGSSHLGUI=-shared
-LINKFLAGSAPPCUI=-Wl,-export-dynamic
+#LINKFLAGSAPPCUI=-Wl,-export-dynamic
LINKFLAGSSHLCUI=-shared
LINKFLAGSTACK=
LINKFLAGSPROF=