On Thu, 2006-07-06 at 13:19 +0100, Ciaran McCreesh wrote: > On Thu, 6 Jul 2006 12:52:29 +0200 "Diego 'Flameeyes' Pettenò" > <[EMAIL PROTECTED]> wrote: > | Right now we have mmx, 3dnow, 3dnowex, sse, sse2 and so on useflags > | present in the tree, almost never used to get new dependencies, but > | usually used to supply econf switches. > | > | This works as long as the user enable the flags, but for AMD64 the > | story was, until now, that we simply enabled them when they worked, > | because we had some minimum support available. Unfortunately this > | became a problem with the introduction of nocona, because that is an > | amd64-like system but with no 3dnow. And there is the problem that > | sse3 is supported only in later versions of Athlon64 and so on. > > The other option here... Is to rename the x86 flags to x86_mmx, > x86_3dnow etc, and use amd64_sse3 for amd64 flags, since they're not > really the same as the x86 flags. >
> There's probably some USE_EXPAND trickery that can be used here... > CPU_FEATURE_X86="mmx sse" -> cpu_feature_x86_mmx etc might be cleaner? I tend to agree this might be a cleaner approach vs having to edit & redit CFLAGS all over the place. -- Ned Ludd <[EMAIL PROTECTED]> Gentoo Linux -- gentoo-dev@gentoo.org mailing list