commit: bf78047aff79cc4eb8cf1661b5fe3472cc21fc04 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Apr 11 18:24:37 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Apr 11 18:25:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf78047a
sys-devel/clang: Install clang-*-wrapper tools in 15.0.7-r1 Add missing `clang-*-wrapper` tools to 15.0.7-r1. Since these tools aren't crucial to clang operation, let's add them without revbump to avoid forcing a huge rebuild on everyone. The `clang-linker-wrapper` is already installed by 17.x, and I have requested backporting a fix to get it installed into 16.x release branch. The two remaining tools were already removed in 16.x. Bug: https://bugs.gentoo.org/904143 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> sys-devel/clang/clang-15.0.7-r1.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys-devel/clang/clang-15.0.7-r1.ebuild b/sys-devel/clang/clang-15.0.7-r1.ebuild index 3a9fc612178a..7141f0e0a887 100644 --- a/sys-devel/clang/clang-15.0.7-r1.ebuild +++ b/sys-devel/clang/clang-15.0.7-r1.ebuild @@ -431,6 +431,13 @@ src_install() { multilib_src_install() { DESTDIR=${D} cmake_build install-distribution + if multilib_is_native_abi; then + # install clang-*-wrapper tools + # https://bugs.gentoo.org/904143 + exeinto "/usr/lib/llvm/${LLVM_MAJOR}/bin" + doexe "${BUILD_DIR}"/bin/clang-{linker,nvlink}-wrapper + fi + # move headers to /usr/include for wrapping & ABI mismatch checks # (also drop the version suffix from runtime headers) rm -rf "${ED}"/usr/include || die
