mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
2fbd9aa700613a6070ca84af92b58e253a389e63
`get-flag` is a bit of a funny API. It offers to provide the value of a flag, implying, the part after the =. But if there is no = then it simply returns you the whole flag, whereas you might think it returns empty. ffmpeg was relying on it returning empty for the case where no value is passed, but instead we ended up passing --enable-lto=-flto for such a case, which the ffmpeg configure script happily accepts as a valid value, and then silently drops since it doesn't actually work. End result: no LTO for the package with -flto, but working LTO if you used e.g. -flto=4 instead. Explicitly handle the -flto case. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
…
Description
No description provided
9.8 GiB
Languages
Shell
98%
Roff
1.4%
Emacs Lisp
0.2%
C
0.1%