summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorunknown <monty@bitch.mysql.fi>2001-08-11 11:24:43 +0300
committerunknown <monty@bitch.mysql.fi>2001-08-11 11:24:43 +0300
commitcb1c0b08187ba3b7bea7db158ad4d42329fd1162 (patch)
treec356f42d27c0a877c40c8d8b90d7cfc871dda3d6 /BUILD
parent1ddd584a23bac9ab78933113f16eb8bf4dc589e0 (diff)
downloadmariadb-git-cb1c0b08187ba3b7bea7db158ad4d42329fd1162.tar.gz
Made SIGTERM safer for Solaris
BitKeeper/etc/ignore: added */*_pure_*warnings BUILD/compile-solaris-sparc: Optimized build for ultrasparc sql/mysqld.cc: Made SIGTERM safer for Solaris as it sometimes delivered a not catched signal during shutdown
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/compile-solaris-sparc19
1 files changed, 13 insertions, 6 deletions
diff --git a/BUILD/compile-solaris-sparc b/BUILD/compile-solaris-sparc
index 0558cfda25d..f8f7c8755df 100755
--- a/BUILD/compile-solaris-sparc
+++ b/BUILD/compile-solaris-sparc
@@ -1,9 +1,16 @@
#! /bin/sh
-path=`dirname $0`
-. "$path/SETUP.sh"
+gmake -k clean || true
+/bin/rm -f */.deps/*.P config.cache
+
+aclocal && autoheader && aclocal && automake && autoconf
+(cd bdb/dist && sh s_all)
+(cd innobase && aclocal && autoheader && aclocal && automake && autoconf)
+if [ -d gemini ]
+then
+ (cd gemini && aclocal && autoheader && aclocal && automake && autoconf)
+fi
+
+CFLAGS="-g -Wimplicit -Wreturn-type -Wid-clash-51 -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wimplicit-function-dec -Wimplicit-int -Wparentheses -Wsign-compare -Wwrite-strings -Wunused -O3 -fno-omit-frame-pointer -mcpu=v8 -Wa,-xarch=v8plusa" CXX=gcc CXXFLAGS="-Wimplicit -Wreturn-type -Wid-clash-51 -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wimplicit-function-dec -Wimplicit-int -Wparentheses -Wsign-compare -Wwrite-strings -Woverloaded-virtual -Wextern-inline -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -O3 -fno-omit-frame-pointer -mcpu=v8 -Wa,-xarch=v8plusa -g" ./configure --prefix=/usr/local/mysql --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client
-extra_flags="$sparc_cflags $fast_cflags"
-extra_configs="$sparc_configs"
-
-. "$path/FINISH.sh"
+gmake -j 4