aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2026-03-06 15:49:22 +0000
committerEd Maste <emaste@FreeBSD.org>2026-03-06 15:52:37 +0000
commit88dedd16ba659ea43bf5572a85e6f8151ee3fd87 (patch)
tree61edf0c8e3add72cd065a92b302b01f6bc004046
parentf1e8b1aca54312a2c7f0d22a83aaae44950dac6b (diff)
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
-rw-r--r--usr.bin/clang/llvm-cxxfilt/Makefile2
1 files changed, 2 insertions, 0 deletions
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"