summaryrefslogtreecommitdiff
path: root/BUILD/compile-pentium-debug
diff options
context:
space:
mode:
authorunknown <tim@cane.mysql.fi>2000-12-18 23:24:19 +0200
committerunknown <tim@cane.mysql.fi>2000-12-18 23:24:19 +0200
commit447b5534d02b99327d73ac15edb43bcf5d793e7e (patch)
tree144029d1dacb5aaa27e21b64dbfc97258409e2ab /BUILD/compile-pentium-debug
parent7cdb2b2d1d1efef069a305d130abf57d099c790e (diff)
downloadmariadb-git-447b5534d02b99327d73ac15edb43bcf5d793e7e.tar.gz
- cleaned up BUILD scripts
- consolidate common functionality into one place - make them detect gmake/make BUILD/compile-alpha: - cleaned up BUILD scripts - consolidate common functionality into one place - make them detect gmake/make BUILD/compile-pentium-debug-no-bdb: - cleaned up BUILD scripts - consolidate common functionality into one place - make them detect gmake/make BUILD/compile-pentium-debug: - cleaned up BUILD scripts - consolidate common functionality into one place - make them detect gmake/make BUILD/compile-pentium-gcov: - cleaned up BUILD scripts - consolidate common functionality into one place - make them detect gmake/make BUILD/compile-pentium-myodbc: - cleaned up BUILD scripts - consolidate common functionality into one place - make them detect gmake/make BUILD/compile-pentium: - cleaned up BUILD scripts - consolidate common functionality into one place - make them detect gmake/make BUILD/compile-solaris-sparc-purify: - cleaned up BUILD scripts - consolidate common functionality into one place - make them detect gmake/make BUILD/compile-solaris-sparc: - cleaned up BUILD scripts - consolidate common functionality into one place - make them detect gmake/make
Diffstat (limited to 'BUILD/compile-pentium-debug')
-rwxr-xr-xBUILD/compile-pentium-debug24
1 files changed, 6 insertions, 18 deletions
diff --git a/BUILD/compile-pentium-debug b/BUILD/compile-pentium-debug
index beae200ea31..37381cc47df 100755
--- a/BUILD/compile-pentium-debug
+++ b/BUILD/compile-pentium-debug
@@ -1,21 +1,9 @@
-AM_MAKEFLAGS="-j 2"
-make -k clean
-/bin/rm -f */.deps/*.P config.cache
+#! /bin/sh
-aclocal; autoheader; aclocal; automake; autoconf
+path=`dirname $0`
+. "$path/SETUP.sh"
-# If you are not using codefusion add "-Wpointer-arith" to WARNINGS
-# The following warning flag will give too many warnings:
-# -Wshadow -Wunused -Winline (The later isn't usable in C++ as
-# __attribute()__ doesn't work with gnu C++)
+extra_flags="$pentium_cflags $debug_cflags"
+extra_configs="$pentium_configs $debug_configs"
-GLOBAL_WARNINGS="-Wimplicit -Wreturn-type -Wid-clash-51 -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wuninitialized -Wformat -Wimplicit-function-dec -Wimplicit-int -Wparentheses -Wsign-compare -Wwrite-strings"
-C_WARNINGS="$GLOBAL_WARNINGS -Wunused"
-CC_WARNINGS="$GLOBAL_WARNINGS -Woverloaded-virtual -Wextern-inline -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor"
-
-
-CFLAGS="-DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -O2 -mpentiumpro $C_WARNINGS" CXX=gcc \
-CXXFLAGS="-DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -O2 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti $CC_WARNINGS" \
-./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charsets=complex --with-debug=full \
---with-berkeley-db=/usr/local/BerkeleyDB
-make -j 2
+. "$path/FINISH.sh"