git: 21c4bd8da93c - main - lang/tcl8[6-7]: fix build with clang/lld 15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Dec 2022 08:57:26 UTC
The branch main has been updated by gahr: URL: https://cgit.FreeBSD.org/ports/commit/?id=21c4bd8da93cc1b7d8d2b5aa9501244282fff358 commit 21c4bd8da93cc1b7d8d2b5aa9501244282fff358 Author: Pietro Cerutti <gahr@FreeBSD.org> AuthorDate: 2022-12-06 08:55:39 +0000 Commit: Pietro Cerutti <gahr@FreeBSD.org> CommitDate: 2022-12-06 08:56:41 +0000 lang/tcl8[6-7]: fix build with clang/lld 15 PR: 268178 Reported by: dim --- lang/tcl86/Makefile | 1 + lang/tcl87/Makefile | 1 + 2 files changed, 2 insertions(+) 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