~mysql/mysql-server/mysql-6.0

« back to all changes in this revision

Viewing changes to BUILD/compile-pentium-debug

  • Committer: bk at mysql
  • Date: 2000-07-31 19:29:14 UTC
  • Revision ID: sp1r-bk@work.mysql.com-20000731192914-08846
Import changeset

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
make -k clean
 
2
/bin/rm -f */.deps/*.P config.cache
 
3
 
 
4
aclocal; autoheader; aclocal; automake; autoconf
 
5
 
 
6
# If you are not using codefusion add "-Wpointer-arith" to WARNINGS
 
7
# The following warning flag will give too many warnings:
 
8
# -Wshadow -Wunused  -Winline (The later isn't usable in C++ as
 
9
# __attribute()__ doesn't work with gnu C++)
 
10
 
 
11
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"
 
12
C_WARNINGS="$GLOBAL_WARNINGS -Wunused"
 
13
CC_WARNINGS="$GLOBAL_WARNINGS -Woverloaded-virtual -Wextern-inline -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor"
 
14
 
 
15
CFLAGS="-DFORCE_INIT_OF_VARS  -O2 -mpentiumpro $C_WARNINGS" CXX=gcc \
 
16
CXXFLAGS="-DFORCE_INIT_OF_VARS -O2 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti $CC_WARNINGS" \
 
17
./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charsets=complex --with-debug=full
 
18
--with-berkeley-db=/usr/local/BerkeleyDB
 
19
make