From 1a075e36293585b74ffa29fad01fbe8b808b598c Mon Sep 17 00:00:00 2001 From: toddouska Date: Thu, 13 Feb 2014 09:33:30 -0800 Subject: [PATCH] use host_cpu instead of target_cpu to determine cpu to run on, target is now only for cross compilation tools --- configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index e9f71f9b3..3d94bc68b 100644 --- a/configure.ac +++ b/configure.ac @@ -10,8 +10,6 @@ AC_INIT([cyassl],[2.9.0],[https://github.com/cyassl/cyassl/issues],[cyassl],[htt AC_CONFIG_AUX_DIR([build-aux]) -# using $targget_cpu to only turn on fastmath by default on x86_64 -AC_CANONICAL_TARGET AC_CANONICAL_HOST AC_CANONICAL_BUILD @@ -1372,7 +1370,7 @@ fi # set fastmath default FASTMATH_DEFAULT=no -if test "$target_cpu" = "x86_64" +if test "$host_cpu" = "x86_64" then FASTMATH_DEFAULT=yes fi