Annotation of /trunk/tcl/patches/tcl-8.6.1-flags.patch
Parent Directory | Revision Log
Revision 2298 -
(hide annotations)
(download)
Mon Oct 7 13:35:21 2013 UTC (10 years, 11 months ago) by niro
File size: 765 byte(s)
Mon Oct 7 13:35:21 2013 UTC (10 years, 11 months ago) by niro
File size: 765 byte(s)
-reworked patch
1 | niro | 2298 | diff --git a/unix/tcl.m4 b/unix/tcl.m4 |
2 | index 668fa2f..a50e4d1 100644 | ||
3 | --- a/unix/tcl.m4 | ||
4 | +++ b/unix/tcl.m4 | ||
5 | @@ -1420,12 +1420,12 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ | ||
6 | # get rid of the warnings. | ||
7 | #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES" | ||
8 | |||
9 | - SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}' | ||
10 | + SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -fPIC -Wl,-soname,${@}' | ||
11 | DL_OBJS="tclLoadDl.o" | ||
12 | DL_LIBS="-ldl" | ||
13 | LDFLAGS="$LDFLAGS -Wl,--export-dynamic" | ||
14 | AS_IF([test $doRpath = yes], [ | ||
15 | - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}']) | ||
16 | + CC_SEARCH_FLAGS='']) | ||
17 | LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} | ||
18 | AS_IF([test "`uname -m`" = "alpha"], [CFLAGS="$CFLAGS -mieee"]) | ||
19 | AS_IF([test $do64bit = yes], [ |