Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Mar 2026 15:52:51 +0000
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 88dedd16ba65 - main - llvm-cxxfilt: Install as c++filt only with LLVM_BINUTILS
Message-ID:  <69aaf853.36d29.26801202@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=88dedd16ba659ea43bf5572a85e6f8151ee3fd87

commit 88dedd16ba659ea43bf5572a85e6f8151ee3fd87
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-03-06 15:49:22 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-03-06 15:52:37 +0000

    llvm-cxxfilt: Install as c++filt only with LLVM_BINUTILS
    
    When building WITHOUT_LLVM_BINUTILS /usr/bin/c++filt is the one from
    ELF Tool Chain.
    
    PR: 293610
    Fixes: 5d757312ad59 ("build: Retire LLVM_CXXFILT option")
    Sponsored by: The FreeBSD Foundation
---
 usr.bin/clang/llvm-cxxfilt/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/usr.bin/clang/llvm-cxxfilt/Makefile b/usr.bin/clang/llvm-cxxfilt/Makefile
index 98cc5c09f4c4..f53503378ea8 100644
--- a/usr.bin/clang/llvm-cxxfilt/Makefile
+++ b/usr.bin/clang/llvm-cxxfilt/Makefile
@@ -22,7 +22,9 @@ DEPENDFILES+=	${TGHDRS:C/$/.d/}
 DPSRCS+=	${TGHDRS}
 CLEANFILES+=	${TGHDRS} ${TGHDRS:C/$/.d/}
 
+.if ${MK_LLVM_BINUTILS} != "no"
 LINKS=		${BINDIR}/llvm-cxxfilt ${BINDIR}/c++filt
 MLINKS=		llvm-cxxfilt.1 c++filt.1
+.endif
 
 .include "../llvm.prog.mk"


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69aaf853.36d29.26801202>