mirror of
https://github.com/MariaDB/server.git
synced 2025-01-25 00:04:33 +01:00
4ddac2140d
make -j 2 mysys/my_open.c my_umask is better than 0 - we do not want 0000 files when my_open() is called with O_CREAT sql/log.cc fixed up IO_CACHE to make replication work, not fully yet sql/log_event.cc fixed up IO_CACHE BUILD/compile-pentium-debug: make -j 2 BitKeeper/etc/ignore: Added repl-tests/test-repl/sum-wlen-slave.master.reje support-files/mysql-3.23.28-gamma.spec to the ignore list mysys/my_open.c: my_umask is better than 0 - we do not want 0000 files when my_open() is called with O_CREAT sql/log.cc: fixed up IO_CACHE to make replication work, not fully yet sql/log_event.cc: fixed up IO_CACHE
20 lines
1.1 KiB
Text
Executable file
20 lines
1.1 KiB
Text
Executable file
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 \
|
|
--with-berkeley-db=/usr/local/BerkeleyDB
|
|
make -j 2
|