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 <adrian.ratiu@collabora.com>
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
Adrian Ratiu
2021-12-06 17:31:48 +01:00
committed by David Seifert
parent 9f7c492101
commit bb14cb3de1
+1 -1
View File
@@ -91,7 +91,7 @@ create_user-config.jam() {
fi
cat > "${user_config_jam}" <<- __EOF__ || die
using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" <archiver>"$(tc-getAR)" <ranlib>"$(tc-getRANLIB)" ;
${mpi_configuration}
__EOF__