summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
Diffstat (limited to 'unix')
-rw-r--r--unix/tcl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 9476cae..6270d24 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1950,7 +1950,7 @@ dnl AC_CHECK_TOOL(AR, ar)
], [
case $system in
SunOS-5.[[1-9]][[0-9]]*)
- SHLIB_LD='${CC} -G -z text';;
+ SHLIB_LD='${CC} -G -z text ${LDFLAGS}';;
*)
SHLIB_LD='/usr/ccs/bin/ld -G -z text';;
esac