mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
media-libs/webrtc-audio-processing: 2.1 build with c++20 for new abseil
`>=abseil-cpp-20260107.1` is build using `c++-20` do the same to avoid build failures. Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/635 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -32,5 +32,13 @@ multilib_src_configure() {
|
||||
$(meson_feature cpu_flags_arm_neon neon)
|
||||
$(meson_use cpu_flags_x86_sse inline-sse)
|
||||
)
|
||||
|
||||
if has_version ">=dev-cpp/abseil-cpp-20260107.0"; then
|
||||
# needs >=c++20
|
||||
emesonargs=(
|
||||
-Dcpp_std=c++20
|
||||
)
|
||||
fi
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user