]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
llvm: fix some llvm-* tool links when WITH_LLVM_BINUTILS is set
authorEd Maste <emaste@FreeBSD.org>
Fri, 21 Apr 2023 13:11:45 +0000 (09:11 -0400)
committerEd Maste <emaste@FreeBSD.org>
Fri, 21 Apr 2023 16:49:05 +0000 (12:49 -0400)
commit41df1d60e3237df2106dddf357e3205bf29f85d5
treedfadb36b83a17acf27ed36d64c584cd9acda76df
parent7b42f338d7a31c99609d801e9c9ba33d93501863
llvm: fix some llvm-* tool links when WITH_LLVM_BINUTILS is set

A few Makefiles overrode LINKS and MLINKS when WITH_LLVM_BINUTILS was
set, which caused some llvm- prefixed tools to disappear.  One such case
was llvm-ranlib, which some ports invoke explicitly.

Use += when adding to LINKS and MLINKS under WITH_LLVM_BINUTILS.

PR: 270955, 270956, 270959
Submitted by: jbeich
Reviewed by: arichardson
Fixes: 021385aba562 ("Add WITH_LLVM_BINUTILS to install LLVM binuti...")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39747
usr.bin/clang/llvm-ar/Makefile
usr.bin/clang/llvm-nm/Makefile
usr.bin/clang/llvm-size/Makefile
usr.bin/clang/llvm-symbolizer/Makefile