net-libs/srt: allow LTO

The ODR violations were fixed with https://github.com/Haivision/srt/pull/3002
which is included in 1.5.4.

Bug: https://bugs.gentoo.org/861584
Signed-off-by: Kostadin Shishmanov <kostadinshishmanov@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42355
Closes: https://github.com/gentoo/gentoo/pull/42355
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Kostadin Shishmanov
2025-05-30 18:57:27 +03:00
committed by Sam James
parent 9a2fe81c5d
commit 8009f09d4a

View File

@@ -3,7 +3,7 @@
EAPI=8
inherit cmake-multilib flag-o-matic
inherit cmake-multilib
DESCRIPTION="Secure Reliable Transport (SRT) library and tools"
HOMEPAGE="https://github.com/Haivision/srt"
@@ -39,10 +39,6 @@ PATCHES=(
)
src_configure() {
# ODR violations
# https://github.com/Haivision/srt/issues/2145 (bug #861584)
filter-lto
local mycmakeargs=(
-DUSE_CXX_STD=c++14 # Required for gtest
-DENABLE_STATIC=OFF