summaryrefslogtreecommitdiff
path: root/BUILD/compile-pentium-debug-no-bdb
diff options
context:
space:
mode:
authorsasha@laptop.slkc.uswest.net <>2000-11-11 14:57:35 -0700
committersasha@laptop.slkc.uswest.net <>2000-11-11 14:57:35 -0700
commit57093008c6d5eb0b1a19d0e72161a8d1586dd2d1 (patch)
tree32a840c24805d4d0e41b0fe983db15e78c2866e7 /BUILD/compile-pentium-debug-no-bdb
parenta25aed33d99463413c0b8e501afc70eeb96efe15 (diff)
downloadmariadb-git-57093008c6d5eb0b1a19d0e72161a8d1586dd2d1.tar.gz
laptop commit
Diffstat (limited to 'BUILD/compile-pentium-debug-no-bdb')
-rwxr-xr-xBUILD/compile-pentium-debug-no-bdb19
1 files changed, 19 insertions, 0 deletions
diff --git a/BUILD/compile-pentium-debug-no-bdb b/BUILD/compile-pentium-debug-no-bdb
new file mode 100755
index 00000000000..b7f931a6718
--- /dev/null
+++ b/BUILD/compile-pentium-debug-no-bdb
@@ -0,0 +1,19 @@
+make -k clean
+/bin/rm -f */.deps/*.P config.cache
+
+aclocal; autoheader; aclocal; automake; autoconf
+
+# 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++)
+
+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
+make