Summary: | media-libs/x264 - add USE=lto | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alec Ari <neotheuser> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | eschwartz93, mackal.cook |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 |
Description
Alec Ari
2019-03-27 21:26:34 UTC
I just added filter-lto and added $(usex lto "--enable-lto" "") to the configure script bit. This does call filter-lto multiple times, which I don't think it strictly necessary. The configure flag seems to just pass -flto=auto when it's set, so unless we patch it, we don't need to handle whatever the user might want to use in their CFLAGS ... This seems to work What's the advantage of this over just putting -flto into your make.conf COMMON_FLAGS? |