Magellan Linux

Contents of /trunk/tk/patches/tk-8.6.9-flags.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3263 - (show annotations) (download)
Thu Dec 6 13:07:54 2018 UTC (5 years, 5 months ago) by niro
File size: 806 byte(s)
-rediffed for tk-8.6.9
1 diff -Naur tk8.6.9/unix/tcl.m4 tk8.6.9-flags/unix/tcl.m4
2 --- tk8.6.9/unix/tcl.m4 2018-11-16 20:02:48.000000000 +0100
3 +++ tk8.6.9-flags/unix/tcl.m4 2018-12-06 14:07:06.315084168 +0100
4 @@ -1407,12 +1407,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 -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], [