Magellan Linux

Contents of /trunk/tcl/patches/tcl-8.6.1-flags.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2298 - (show annotations) (download)
Mon Oct 7 13:35:21 2013 UTC (10 years, 6 months ago) by niro
File size: 765 byte(s)
-reworked patch
1 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], [