Annotation of /trunk/tcl/patches/tcl-8.6.8-flags.patch
Parent Directory | Revision Log
Revision 3081 -
(hide annotations)
(download)
Wed Mar 7 07:57:41 2018 UTC (6 years, 6 months ago) by niro
File size: 816 byte(s)
Wed Mar 7 07:57:41 2018 UTC (6 years, 6 months ago) by niro
File size: 816 byte(s)
-re-diffed flags patch
1 | niro | 3081 | diff -Naur tcl8.6.8/unix/tcl.m4 tcl8.6.8-flags/unix/tcl.m4 |
2 | --- tcl8.6.8/unix/tcl.m4 2017-12-21 19:16:25.000000000 +0100 | ||
3 | +++ tcl8.6.8-flags/unix/tcl.m4 2018-03-07 08:56:42.678715660 +0100 | ||
4 | @@ -1402,12 +1402,12 @@ | ||
5 | # get rid of the warnings. | ||
6 | #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES" | ||
7 | |||
8 | - SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared' | ||
9 | + SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared -fPIC -Wl,-soname,${@}' | ||
10 | DL_OBJS="tclLoadDl.o" | ||
11 | DL_LIBS="-ldl" | ||
12 | LDFLAGS="$LDFLAGS -Wl,--export-dynamic" | ||
13 | AS_IF([test $doRpath = yes], [ | ||
14 | - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}']) | ||
15 | + CC_SEARCH_FLAGS='']) | ||
16 | LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} | ||
17 | AS_IF([test "`uname -m`" = "alpha"], [CFLAGS="$CFLAGS -mieee"]) | ||
18 | AS_IF([test $do64bit = yes], [ |