Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631352 - media-video/ffmpeg ebuilds do not respect -fno-lto
Summary: media-video/ffmpeg ebuilds do not respect -fno-lto
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: media-video herd
Depends on:
Reported: 2017-09-18 21:07 UTC by Shane Peelar
Modified: 2017-09-22 12:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Shane Peelar 2017-09-18 21:07:02 UTC
In , the ebuilds for media-video/ffmpeg were amended to support LTO.  Unfortunately, they do not respect the -fno-lto flag, particularly if your CFLAGS/CXXFLAGS contain "-flto -fno-lto" -- it will build with "--enable-lto" regardless.

A comment on that bug report suggested a fix:

I have tested this fix on my own overlay and it appears to work as intended.  I can submit patches to fix the ebuilds using this if desired.

Thank you for your time,
Shane Peelar
Comment 1 Shane Peelar 2017-09-22 12:19:43 UTC
PR created: