commit:     bb14cb3de155f3bd7bbc292faa73dc4ee4c931e9
Author:     Adrian Ratiu <adrian.ratiu <AT> collabora <DOT> com>
AuthorDate: Mon Dec  6 16:31:48 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Dec  6 16:31:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb14cb3d

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 <AT> collabora.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 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 cebd955d5882..5ec5337f1703 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>"${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__
 

Reply via email to