summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorunknown <tonu@x153.internalnet>2001-08-26 21:13:12 +0800
committerunknown <tonu@x153.internalnet>2001-08-26 21:13:12 +0800
commitd853390e56f6ba77d99db3bc37f8f5e372450847 (patch)
tree9d3e18a7a19979145075b620a336d1f11b7cf038 /acinclude.m4
parentf1f4a195034edaf2bef6c55866f34fdbb42b3ccf (diff)
downloadmariadb-git-d853390e56f6ba77d99db3bc37f8f5e372450847.tar.gz
-DCPU flag added
acinclude.m4: Added -DCPU flag to compile
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