mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
13 lines
779 B
Text
Executable file
13 lines
779 B
Text
Executable file
gmake -k clean
|
|
/bin/rm -f */.deps/*.P */*.o
|
|
/bin/rm -f config.cache
|
|
aclocal; autoheader; aclocal; automake; autoconf
|
|
|
|
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="-DHAVE_PURIFY -O2 $C_WARNINGS" CXX=gcc \
|
|
CXXFLAGS="-DHAVE_PURIFY -O2 -felide-constructors -fno-exceptions -fno-rtti $CC_WARNINGS" \
|
|
./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-debug=full
|
|
gmake
|