summaryrefslogtreecommitdiff
path: root/BUILD/SETUP.sh
diff options
context:
space:
mode:
authorunknown <tonu@x153.internalnet>2001-08-09 06:07:19 +0800
committerunknown <tonu@x153.internalnet>2001-08-09 06:07:19 +0800
commitea4a4de32f94829d30fc7aded8f2999e96d68ac8 (patch)
tree5ba72f5682b7e285fb68a942c12db8b3f0874059 /BUILD/SETUP.sh
parent4bb40187438bdfb8b1d8b091399bd01e0e3425c1 (diff)
downloadmariadb-git-ea4a4de32f94829d30fc7aded8f2999e96d68ac8.tar.gz
Added CPU automatic detection. It examines /proc/cpuinfo (if exists) and finds out flags for -mcpu and -march.
TODO is --with-cpu configure option to force some other processor type. Problem is not big as any Intel 686+ CPU will use -mcpu=pentiumpro anyway. Exceptions are Athlons and 586 processors. BUILD/SETUP.sh: Removed hardcoded processor type as it will be added later by configure acinclude.m4: Added CPU automatic detection configure.in: Added CPU automatic detection
Diffstat (limited to 'BUILD/SETUP.sh')
-rw-r--r--BUILD/SETUP.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh
index cf5405565b8..fdd0154fc99 100644
--- a/BUILD/SETUP.sh
+++ b/BUILD/SETUP.sh
@@ -40,7 +40,7 @@ c_warnings="$global_warnings -Wunused"
cxx_warnings="$global_warnings -Woverloaded-virtual -Wextern-inline -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor"
alpha_cflags="-mcpu=ev6 -Wa,-mev6" # Not used yet
-pentium_cflags="-mpentiumpro"
+pentium_cflags=""
sparc_cflags=""
# be as fast as we can be without losing our ability to backtrace