projg2 / cpuid2cpuflags

Tool to generate CPU_FLAGS_* for your CPU
GNU General Public License v2.0
108 stars 20 forks source link

enable simple copy and paste #7

Closed jonasstein closed 6 years ago

jonasstein commented 6 years ago

I suggest to adjust the format a little bit to enable simple copy and paste

Output now: CPU_FLAGS_X86: aes avx f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3

What I suggest: CPU_FLAGS_X86="aes avx f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"

mgorny commented 6 years ago

Setting this via make.conf is wrong. Use package.use like normal package managers do.

jonasstein commented 6 years ago

This is interesting. I did not know that before. https://wiki.gentoo.org/wiki/CPU_FLAGS_X86 and https://wiki.gentoo.org/wiki//etc/portage/make.conf#CPU_FLAGS_X86 needs updating then.