1 |
commit: bb14cb3de155f3bd7bbc292faa73dc4ee4c931e9 |
2 |
Author: Adrian Ratiu <adrian.ratiu <AT> collabora <DOT> com> |
3 |
AuthorDate: Mon Dec 6 16:31:48 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 6 16:31:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb14cb3d |
7 |
|
8 |
dev-libs/boost: fix AR/RANLIB configuration |
9 |
|
10 |
The ebuild jam configuration did not specify any values for the |
11 |
archiver and ranlib so Boost.Build would end up using the default |
12 |
GNU versions even when building with Clang++. |
13 |
|
14 |
Setting the values ensures the proper llvm-ar / llvm-ranlib are |
15 |
used in LLVM build configurations. |
16 |
|
17 |
Closes: https://github.com/gentoo/gentoo/pull/23198 |
18 |
Signed-off-by: Adrian Ratiu <adrian.ratiu <AT> collabora.com> |
19 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
20 |
|
21 |
dev-libs/boost/boost-1.77.0-r4.ebuild | 2 +- |
22 |
1 file changed, 1 insertion(+), 1 deletion(-) |
23 |
|
24 |
diff --git a/dev-libs/boost/boost-1.77.0-r4.ebuild b/dev-libs/boost/boost-1.77.0-r4.ebuild |
25 |
index cebd955d5882..5ec5337f1703 100644 |
26 |
--- a/dev-libs/boost/boost-1.77.0-r4.ebuild |
27 |
+++ b/dev-libs/boost/boost-1.77.0-r4.ebuild |
28 |
@@ -91,7 +91,7 @@ create_user-config.jam() { |
29 |
fi |
30 |
|
31 |
cat > "${user_config_jam}" <<- __EOF__ || die |
32 |
- using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ; |
33 |
+ using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" <archiver>"$(tc-getAR)" <ranlib>"$(tc-getRANLIB)" ; |
34 |
${mpi_configuration} |
35 |
__EOF__ |