diff options
Diffstat (limited to 'BUILD/compile-solaris-sparc-purify')
-rwxr-xr-x | BUILD/compile-solaris-sparc-purify | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/BUILD/compile-solaris-sparc-purify b/BUILD/compile-solaris-sparc-purify new file mode 100755 index 00000000000..2a48d71375d --- /dev/null +++ b/BUILD/compile-solaris-sparc-purify @@ -0,0 +1,13 @@ +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 |