From bb14cb3de155f3bd7bbc292faa73dc4ee4c931e9 Mon Sep 17 00:00:00 2001 From: Adrian Ratiu Date: Mon, 6 Dec 2021 17:31:48 +0100 Subject: [PATCH] dev-libs/boost: fix AR/RANLIB configuration The ebuild jam configuration did not specify any values for the archiver and ranlib so Boost.Build would end up using the default GNU versions even when building with Clang++. Setting the values ensures the proper llvm-ar / llvm-ranlib are used in LLVM build configurations. Closes: https://github.com/gentoo/gentoo/pull/23198 Signed-off-by: Adrian Ratiu Signed-off-by: David Seifert --- dev-libs/boost/boost-1.77.0-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/boost/boost-1.77.0-r4.ebuild b/dev-libs/boost/boost-1.77.0-r4.ebuild index cebd955d5882a..5ec5337f1703b 100644 --- a/dev-libs/boost/boost-1.77.0-r4.ebuild +++ b/dev-libs/boost/boost-1.77.0-r4.ebuild @@ -91,7 +91,7 @@ create_user-config.jam() { fi cat > "${user_config_jam}" <<- __EOF__ || die - using ${compiler} : ${compiler_version} : ${compiler_executable} : "${CFLAGS}" "${CXXFLAGS}" "${LDFLAGS}" ; + using ${compiler} : ${compiler_version} : ${compiler_executable} : "${CFLAGS}" "${CXXFLAGS}" "${LDFLAGS}" "$(tc-getAR)" "$(tc-getRANLIB)" ; ${mpi_configuration} __EOF__