media-libs/avidemux-core: fix lto for bundled ffmpeg

--enable-lto added by default by upstream is removed w/ a patch
But add it again is needed if lto is wanted

Closes: https://bugs.gentoo.org/966255
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44682
Closes: https://github.com/gentoo/gentoo/pull/44682
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nicolas PARLANT 2025-11-20 07:11:06 +01:00 committed by Sam James
parent e447517c5c
commit 4dbe5fa10c
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -65,6 +65,7 @@ src_prepare() {
--pkg-config=$(tc-getPKG_CONFIG)
# avoid automagic with libdrm, vaapi, vdpau ...
--disable-autodetect
$(tc-is-lto && echo --enable-lto) #966255
"--optflags='${CFLAGS} -std=gnu17'"
)