From fc95960057fac4debc10ae3cfd4ebf3893cf34b7 Mon Sep 17 00:00:00 2001 From: lye Date: Thu, 11 Apr 2013 18:46:12 +0000 Subject: [PATCH] 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`. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 62b0d69..38910fd 100644 --- a/configure.ac +++ b/configure.ac @@ -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"