commit: 6ad1e6f5375e93ff6c9053392852ed4ae0eac7c4 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Aug 21 17:21:51 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Aug 21 17:27:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ad1e6f5
dev-cpp/abseil-cpp: use -std=c++14 instead See the discussion in https://github.com/gentoo/gentoo/pull/32281. We can't bundle everywhere like we want to because protobuf+grpc will try install abseil when using it in bundled mode. Signed-off-by: Sam James <sam <AT> gentoo.org> dev-cpp/abseil-cpp/abseil-cpp-20230802.0.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20230802.0.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20230802.0.ebuild index 7f91028d0cd6..b5d25058e213 100644 --- a/dev-cpp/abseil-cpp/abseil-cpp-20230802.0.ebuild +++ b/dev-cpp/abseil-cpp/abseil-cpp-20230802.0.ebuild @@ -47,7 +47,9 @@ src_prepare() { multilib_src_configure() { local mycmakeargs=( - -DCMAKE_CXX_STANDARD=17 + # We use -std=c++14 here so that abseil-cpp's string_view is used + # See the discussion in https://github.com/gentoo/gentoo/pull/32281. + -DCMAKE_CXX_STANDARD=14 -DABSL_ENABLE_INSTALL=TRUE -DABSL_USE_EXTERNAL_GOOGLETEST=ON -DABSL_PROPAGATE_CXX_STD=TRUE