abseil-cpp: allow overriding cxxStandard

individual abseil-cpp_* versions allow overriding the C++ standard
version that abseil is built with. this is very useful when the default
compiler C++ standard is different than the project's C++ standard.
accordingly, we extend this capability to the top-level abseil-cpp
wrapper alias as there's no reason to pin to an abseil LTS just for
this.
This commit is contained in:
whispers
2026-07-24 14:06:56 -04:00
parent fda32d161b
commit 2d92ea3951
+5 -1
View File
@@ -5,4 +5,8 @@
# library.” Therefore, we keep packages `abseil-cpp_YYYYMM` for each
# required LTS branch, leaving `abseil-cpp` as an alias.
{ abseil-cpp_202601 }: abseil-cpp_202601
{
abseil-cpp_202601,
cxxStandard ? null,
}:
abseil-cpp_202601.override { inherit cxxStandard; }