summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index be6b625878a..82490f0e988 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -675,8 +675,7 @@ fi
for ac_arg in $cpu_set;
do
- CFLAGS="$ac_save_CFLAGS -mcpu=$ac_arg -march=$ac_arg"
- echo "trying $ac_arg";
+ CFLAGS="$ac_save_CFLAGS -mcpu=$ac_arg -march=$ac_arg -DCPU=$ac_arg"
AC_TRY_COMPILE([],[int i],mysql_cv_cpu=$ac_arg; break;, mysql_cv_cpu="unknown")
done