mariadb/BUILD/compile-solaris-sparc-purify
bk@work.mysql.com f4c589ff6c Import changeset
2000-07-31 21:29:14 +02:00

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