git: 5c53f4de1a91 - main - Mk/bsd.gecko.mk: switch LLVM to 17

From: Christoph Moench-Tegeder <cmt_at_FreeBSD.org>
Date: Mon, 08 Apr 2024 21:16:39 UTC
The branch main has been updated by cmt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5c53f4de1a915eccf9f05932c48bf459a4e936d6

commit 5c53f4de1a915eccf9f05932c48bf459a4e936d6
Author:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2024-04-08 21:13:59 +0000
Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2024-04-08 21:13:59 +0000

    Mk/bsd.gecko.mk: switch LLVM to 17
    
    This brings gecko ports in line with rust's embedded llvm for those
    who want to try LTO. It also seems to improve overall behaviour
    of gecko ports, based on single-installation experience.
---
 Mk/bsd.gecko.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index 400ad0f97a57..9e83aab4aec0 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -60,7 +60,7 @@ MOZILLA?=	${PORTNAME}
 MOZILLA_VER?=	${PORTVERSION}
 MOZILLA_BIN?=	${PORTNAME}-bin
 MOZILLA_EXEC_NAME?=${MOZILLA}
-USES+=		compiler:c++17-lang cpe gl gmake gnome iconv llvm:noexport localbase \
+USES+=		compiler:c++17-lang cpe gl gmake gnome iconv llvm:17,noexport localbase \
 			pkgconfig python:build desktop-file-utils
 CPE_VENDOR?=mozilla
 USE_GL=		gl
@@ -68,7 +68,7 @@ USE_GNOME=	cairo gdkpixbuf2 gtk30
 USE_XORG=	x11 xcb xcomposite xdamage xext xfixes xrandr xrender xt xtst
 HAS_CONFIGURE=	yes
 CONFIGURE_OUTSOURCE=	yes
-LDFLAGS+=		-Wl,--as-needed
+LDFLAGS+=		-Wl,--as-needed -Wl,--undefined-version
 BINARY_ALIAS+=	python3=${PYTHON_CMD}
 
 BUNDLE_LIBS=	yes