diff options
author | Sam James <sam@gentoo.org> | 2023-08-21 18:21:51 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-08-21 18:27:22 +0100 |
commit | 6ad1e6f5375e93ff6c9053392852ed4ae0eac7c4 (patch) | |
tree | b4c7e8b63ba7ff18f8434458694d725cfec9c513 /dev-cpp/abseil-cpp | |
parent | dev-cpp/abseil-cpp: add 20230802.0 (diff) | |
download | gentoo-6ad1e6f5375e93ff6c9053392852ed4ae0eac7c4.tar.gz gentoo-6ad1e6f5375e93ff6c9053392852ed4ae0eac7c4.tar.bz2 gentoo-6ad1e6f5375e93ff6c9053392852ed4ae0eac7c4.zip |
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@gentoo.org>
Diffstat (limited to 'dev-cpp/abseil-cpp')
-rw-r--r-- | dev-cpp/abseil-cpp/abseil-cpp-20230802.0.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
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 |