summaryrefslogtreecommitdiff
path: root/dev-lang/tcl/files/tcl-8.6.8-conf.patch
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-07-30 07:54:23 +0200
committerJeroen Roovers <jer@gentoo.org>2018-07-30 07:55:27 +0200
commiteedb960b034d2af4d7a735fe623b851bc3ba2f6b (patch)
tree5bb9d591bc44bdb24a6d2a32f94f2e29961daacd /dev-lang/tcl/files/tcl-8.6.8-conf.patch
parentfa8b33805392067c99d8203035826a2989210f95 (diff)
downloadgentoo-eedb960b034d2af4d7a735fe623b851bc3ba2f6b.tar.gz
gentoo-eedb960b034d2af4d7a735fe623b851bc3ba2f6b.tar.bz2
gentoo-eedb960b034d2af4d7a735fe623b851bc3ba2f6b.zip
dev-lang/tcl: Version 8.6.8.
Package-Manager: Portage-2.3.44, Repoman-2.3.10
Diffstat (limited to 'dev-lang/tcl/files/tcl-8.6.8-conf.patch')
-rw-r--r--dev-lang/tcl/files/tcl-8.6.8-conf.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/tcl/files/tcl-8.6.8-conf.patch b/dev-lang/tcl/files/tcl-8.6.8-conf.patch
new file mode 100644
index 000000000000..26599e1672fb
--- /dev/null
+++ b/dev-lang/tcl/files/tcl-8.6.8-conf.patch
@@ -0,0 +1,11 @@
+--- a/unix/tcl.m4
++++ b/unix/tcl.m4
+@@ -1402,7 +1402,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"