Recognize amd64 installs as 86_64 arches.

FreeBSD calls x86_64 "amd64", so this allows allows FreeBSD installs to
have AVX/XOP support without any significant modifications -- it should
be noted that the base install of gcc doesn't actually have support,
but a later version from ports can be installed by the user and chosen
via e.g., `CC=/usr/local/bin/gcc48`.
This commit is contained in:
lye 2013-04-11 18:46:12 +00:00
parent 5b9fd9c731
commit fc95960057

View file

@ -46,6 +46,10 @@ case $target in
have_x86=true
have_x86_64=true
;;
amd64-*-*)
have_x86=true
have_x86_64=true
;;
esac
PTHREAD_FLAGS="-pthread"