summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-05-07 14:18:06 -0230
committerDwayne Boone <dwayne@zeroc.com>2009-05-07 14:18:06 -0230
commit7ad87e989207bba7d6509d4e9f89fcdda701a048 (patch)
tree165d818ba5435659650034b631d75931446f28fa /cpp
parentBug 2664 - show stack traces with C++ (diff)
downloadice-7ad87e989207bba7d6509d4e9f89fcdda701a048.tar.bz2
ice-7ad87e989207bba7d6509d4e9f89fcdda701a048.tar.xz
ice-7ad87e989207bba7d6509d4e9f89fcdda701a048.zip
Add -rdynamic linker flag
Diffstat (limited to 'cpp')
-rw-r--r--cpp/config/Make.rules.Darwin2
-rw-r--r--cpp/config/Make.rules.Linux2
-rw-r--r--cpp/config/Make.rules.SunOS2
3 files changed, 6 insertions, 0 deletions
diff --git a/cpp/config/Make.rules.Darwin b/cpp/config/Make.rules.Darwin
index ab823fd0ee1..fdf8d56396f 100644
--- a/cpp/config/Make.rules.Darwin
+++ b/cpp/config/Make.rules.Darwin
@@ -34,6 +34,8 @@ ifneq ($(embedded_runpath_prefix),)
endif
endif
+LDPLATFORMFLAGS += -rdynamic
+
ifdef ice_src_dist
shlibldflags = $(CXXFLAGS) -L$(libdir)
else
diff --git a/cpp/config/Make.rules.Linux b/cpp/config/Make.rules.Linux
index 57cbf667361..56ee7e2a9e4 100644
--- a/cpp/config/Make.rules.Linux
+++ b/cpp/config/Make.rules.Linux
@@ -120,6 +120,8 @@ ifeq ($(CXX),c++)
LDPLATFORMFLAGS = -Wl,--enable-new-dtags
endif
+ LDPLATFORMFLAGS += -rdynamic
+
endif
ifeq ($(CXX),icpc)
diff --git a/cpp/config/Make.rules.SunOS b/cpp/config/Make.rules.SunOS
index 00026fb6aaf..f6505d25cf4 100644
--- a/cpp/config/Make.rules.SunOS
+++ b/cpp/config/Make.rules.SunOS
@@ -152,6 +152,8 @@ ifeq ($(CXX),g++)
mkshlib = $(CXX) -shared $(LDFLAGS) -o $(1) -h $(2) $(3) $(4)
mklib = ar cr $(1) $(2)
+
+ LDPLATFORMFLAGS = -rdynamic
endif
rpathlink = -L$(1)