diff options
author | CoprDistGit <infra@openeuler.org> | 2024-11-16 13:19:27 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-11-16 13:19:27 +0000 |
commit | dc41324914e7fb8451c663f2e83c4daa259e0f75 (patch) | |
tree | d52bde2543b54602e59450377c1b2f43cda5f791 /tcl-8.6.15-conf.patch | |
parent | 495915bd411b88bab4e9aa4b6f466072c12dd35d (diff) |
automatic import of tcl
Diffstat (limited to 'tcl-8.6.15-conf.patch')
-rw-r--r-- | tcl-8.6.15-conf.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tcl-8.6.15-conf.patch b/tcl-8.6.15-conf.patch new file mode 100644 index 0000000..451eded --- /dev/null +++ b/tcl-8.6.15-conf.patch @@ -0,0 +1,22 @@ +diff --git a/unix/tcl.m4 b/unix/tcl.m4 +index f3d08ec..ed12cda 100644 +--- a/unix/tcl.m4 ++++ b/unix/tcl.m4 +@@ -1378,7 +1378,7 @@ + # get rid of the warnings. + #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES" + +- SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared' ++ SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared -fPIC -Wl,-soname,${@}' + DL_OBJS="tclLoadDl.o" + DL_LIBS="-ldl" + LDFLAGS="$LDFLAGS -Wl,--export-dynamic" +@@ -1394,7 +1394,7 @@ + esac + + AS_IF([test $doRpath = yes], [ +- CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"']) ++ CC_SEARCH_FLAGS='']) + LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} + AS_IF([test "`uname -m`" = "alpha"], [CFLAGS="$CFLAGS -mieee"]) + AS_IF([test $do64bit = yes], [ |