Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Dec 2022 08:57:26 GMT
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 21c4bd8da93c - main - lang/tcl8[6-7]: fix build with clang/lld 15
Message-ID:  <202212060857.2B68vQjw035731@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212060857.2B68vQjw035731>