On Fri, 7 Jul 2006 16:20:08 +0200 Danny van Dyk <[EMAIL PROTECTED]> wrote: | I suggest to add a "CPUFLAGS" USE_EXPAND variable to the tree. | This should be set to sane defaults in the profiles. I.e. for x86, | it should not set CPUFLAGS at all, and on AMD64 it should be | CPUFLAGS="mmx sse sse2"
The issue with this is that $feature on amd64 is not exactly the same as $feature on x86. Would a better name be ${ARCH}_FEATURES or somesuch? That way there would be no confusion as to whether the cpuflags_sse2 USE flag did something for x86 or for amd64 or for both, since there'd be either x86_features_sse2 or amd64_features_sse2 or both. It'd also make handling use masking much easier. -- Ciaran McCreesh Mail : ciaran dot mccreesh at blueyonder.co.uk -- gentoo-dev@gentoo.org mailing list