mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
14 lines
779 B
Text
14 lines
779 B
Text
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
|