Am Mittwoch, 14. Januar 2015, 12:58:21 schrieb Michał Górny: > > Solution: per-arch USE_EXPANDs for flags, e.g.: > > CPU_FLAGS_X86="3dnow 3dnowext avx ..." > CPU_FLAGS_ARM="neon ..." # arm* flags? > CPU_FLAGS_MIPS="..." # mips* flags? >
I like it, because it standardizes and removes causes for confusion. So, +1. That said, long time ago I was taught that "instruction set use-flags" should be avoided as much as possible. I don't remember the source for that anymore. Question to all, is that documented anywhere, and what are the specifics? I suspect "use flags that only switch CFLAGS etc" are forbidden, "useflags that enable assembler code etc" are allowed? -- Andreas K. Huettel Gentoo Linux developer dilfri...@gentoo.org http://www.akhuettel.de/
signature.asc
Description: This is a digitally signed message part.