diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2022-12-06 08:55:39 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2022-12-06 08:56:41 +0000 |
commit | 21c4bd8da93cc1b7d8d2b5aa9501244282fff358 (patch) | |
tree | e7048f4d27090ea84662b7a9306da9ff027e46d4 | |
parent | 430b910b9f925f3b876e414111e309425c0ed566 (diff) | |
download | ports-21c4bd8da93cc1b7d8d2b5aa9501244282fff358.tar.gz ports-21c4bd8da93cc1b7d8d2b5aa9501244282fff358.zip |
lang/tcl8[6-7]: fix build with clang/lld 15
PR: 268178
Reported by: dim
-rw-r--r-- | lang/tcl86/Makefile | 1 | ||||
-rw-r--r-- | lang/tcl87/Makefile | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lang/tcl86/Makefile b/lang/tcl86/Makefile index 150445ac2ad5..c3ae847823a2 100644 --- a/lang/tcl86/Makefile +++ b/lang/tcl86/Makefile @@ -23,6 +23,7 @@ CONFIGURE_ARGS= --enable-shared \ --enable-man-suffix=.${MAN_SUFFIX} \ --includedir=${PREFIX}/include/tcl${TCL_VER} CONFIGURE_ENV= PORTSDIR=${PORTSDIR} +LDFLAGS+= -Wl,-z,muldefs OPTIONS_DEFINE= TCLMAN TZDATA THREADS DEBUG OPTIONS_DEFINE_amd64= DTRACE diff --git a/lang/tcl87/Makefile b/lang/tcl87/Makefile index 96edfbaf9d01..2e95b4a7a0aa 100644 --- a/lang/tcl87/Makefile +++ b/lang/tcl87/Makefile @@ -55,6 +55,7 @@ CONFIGURE_ARGS= --enable-shared \ --includedir=${PREFIX}/include/tcl${TCL_VER} \ --enable-symbols \ --with-system-libtommath +LDFLAGS+= -Wl,-z,muldefs TCL_VERSION= 8.7a5 TCL_VER= 8.7 |