summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormdejong <mdejong@noemail.net>2003-03-28 00:13:21 (GMT)
committermdejong <mdejong@noemail.net>2003-03-28 00:13:21 (GMT)
commit5455363c98c042f9a4a486a3ceb5ed0074c0c0b6 (patch)
tree51023299f3bcec554d95e9cdfd7fc27b92bd10ff
parent6f944ca9e7d21eecee02b0abb48b7297157728e5 (diff)
downloadtcl-5455363c98c042f9a4a486a3ceb5ed0074c0c0b6.zip
tcl-5455363c98c042f9a4a486a3ceb5ed0074c0c0b6.tar.gz
tcl-5455363c98c042f9a4a486a3ceb5ed0074c0c0b6.tar.bz2
* unix/configure: Regen.
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Use -Wl,--export-dynamic instead of -rdynamic for LDFLAGS. The -rdynamic is not documented so it seems better to pass the --export-dynamic flag to the linker. [Patch 573395] FossilOrigin-Name: 4cc2cdda2643ae9c92b6382f7c20294be0a4d8a6
-rw-r--r--ChangeLog9
-rwxr-xr-xunix/configure4
-rw-r--r--unix/tcl.m44
3 files changed, 13 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 5cb1b87..b1d2239 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2003-03-27 Mo DeJong <mdejong@users.sourceforge.net>
+
+ * unix/configure: Regen.
+ * unix/tcl.m4 (SC_CONFIG_CFLAGS): Use -Wl,--export-dynamic
+ instead of -rdynamic for LDFLAGS. The -rdynamic is
+ not documented so it seems better to pass the
+ --export-dynamic flag to the linker.
+ [Patch 573395]
+
2003-03-27 Miguel Sofer <msofer@users.sf.net>
* tests/encoding.test:
diff --git a/unix/configure b/unix/configure
index e6bce4d..ffa27a9 100755
--- a/unix/configure
+++ b/unix/configure
@@ -11256,7 +11256,7 @@ echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
SHLIB_LD="${CC} -shared"
DL_OBJS="tclLoadDl.o"
DL_LIBS="-ldl"
- LDFLAGS="-rdynamic"
+ LDFLAGS="-Wl,--export-dynamic"
CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
else
@@ -11432,7 +11432,7 @@ _ACEOF
SHLIB_LD="${CC} -shared"
DL_OBJS=""
DL_LIBS="-ldl"
- LDFLAGS="-rdynamic"
+ LDFLAGS="-Wl,--export-dynamic"
CC_SEARCH_FLAGS=""
LD_SEARCH_FLAGS=""
else
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 239fe4c..67128a2 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1117,7 +1117,7 @@ dnl AC_CHECK_TOOL(AR, ar)
SHLIB_LD="${CC} -shared"
DL_OBJS="tclLoadDl.o"
DL_LIBS="-ldl"
- LDFLAGS="-rdynamic"
+ LDFLAGS="-Wl,--export-dynamic"
CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
else
@@ -1157,7 +1157,7 @@ dnl AC_CHECK_TOOL(AR, ar)
SHLIB_LD="${CC} -shared"
DL_OBJS=""
DL_LIBS="-ldl"
- LDFLAGS="-rdynamic"
+ LDFLAGS="-Wl,--export-dynamic"
CC_SEARCH_FLAGS=""
LD_SEARCH_FLAGS=""
else