I tried to configure Gentoo with the USE flags before compiling it. 1. I was disappointed that there were no hardware recognition tool in order to optimize the USE flags according to the detected hardware 2. Even if we optimize Gentoo manually, we indeed have to search for the flags among several which are not related to hardware. I mean that separating the USE flags in 2 parts, the hardware and the applications, would make the configuration reading easier and could maybe allow some hardware recognition tools to properly generate some USE flags without changing the default applications preferences. Reproducible: Always Steps to Reproduce: 1. 2. 3.
And what exactly defines a "hardware" flag ? Hardware recognition is a completely different topic btw and goes far beyound USE flags.
For example : 3dnow mmx sse cdr dvdr Maybe flags "3dnow", "mmx" and "sse" should not exist since there are already defined in CCFLAGS variable.
no, some packages actually have custom mmx/3dnow/etc... code that CFLAGS cant touch
Therefore, hardware and applications use flags could be separated. I mean, we could define a "use-flags" directory in which we could separate flags among at least 2 files ("hardware" and "applications").
i dont really see a benefit to doing so
- easier to read - allow tools to generate the hardware use flags and keep a default behaviour for the selected applications packages
far beyond tools-portage scope.
About time to close this...