Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 470032

Summary: sys-devel/gcc LTO USE flag is no longer enabled by default
Product: Gentoo Linux Reporter: Anton Bolshakov <anton.bugs>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal CC: rhill
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Anton Bolshakov 2013-05-16 01:23:07 UTC
Hi Ryan,

Could you confirm that LTO use flag will not be enabled by default?
It is not clear from the changelog.

I have an ebuild (hashkill) in pentoo overlay which relies on that and need to know if I need to fix it or the last change went wrong.

I still see 
  tc_version_is_at_least "4.6" && IUSE+=" lto"
in the toolchain.eclass but somehow it is not enforced.

Cheers,
Anton
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2013-05-16 02:44:33 UTC
No flags are enabled by default.  That would require EAPI 2, which the eclass isn't.  You will have to add a USE flag dep to your ebuild.