summaryrefslogtreecommitdiff
path: root/BUILD/SETUP.sh
diff options
context:
space:
mode:
authortonu@x153.internalnet <>2001-08-09 06:07:19 +0800
committertonu@x153.internalnet <>2001-08-09 06:07:19 +0800
commit24bcdaaff382a154a647dc5c3cf1fc4ee1bbbcd7 (patch)
tree5ba72f5682b7e285fb68a942c12db8b3f0874059 /BUILD/SETUP.sh
parentd9737f20f838f189ef1f3d25df7739770f3b52b9 (diff)
downloadmariadb-git-24bcdaaff382a154a647dc5c3cf1fc4ee1bbbcd7.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.
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