Skip to content

Instantly share code, notes, and snippets.

@eldondev
Created February 1, 2015 18:13
Show Gist options
  • Save eldondev/04fc3214fde21932e60e to your computer and use it in GitHub Desktop.
Save eldondev/04fc3214fde21932e60e to your computer and use it in GitHub Desktop.
Setting cpu flags with the new gentoo arch
echo CPU_FLAGS_X86=\"`grep -of <(sed -n -e '/^#/d' -e 's/^/ /' -e's/-.*//p' /usr/portage/profiles/desc/cpu_flags_x86.desc) /proc/cpuinfo |sort |uniq |xargs echo`\"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment