summaryrefslogtreecommitdiff
path: root/BUILD/compile-solaris-sparc-purify
diff options
context:
space:
mode:
authorunknown <tim@cane.mysql.fi>2000-12-18 23:24:19 +0200
committerunknown <tim@cane.mysql.fi>2000-12-18 23:24:19 +0200
commit447b5534d02b99327d73ac15edb43bcf5d793e7e (patch)
tree144029d1dacb5aaa27e21b64dbfc97258409e2ab /BUILD/compile-solaris-sparc-purify
parent7cdb2b2d1d1efef069a305d130abf57d099c790e (diff)
downloadmariadb-git-447b5534d02b99327d73ac15edb43bcf5d793e7e.tar.gz
- cleaned up BUILD scripts
- consolidate common functionality into one place - make them detect gmake/make BUILD/compile-alpha: - cleaned up BUILD scripts - consolidate common functionality into one place - make them detect gmake/make BUILD/compile-pentium-debug-no-bdb: - cleaned up BUILD scripts - consolidate common functionality into one place - make them detect gmake/make BUILD/compile-pentium-debug: - cleaned up BUILD scripts - consolidate common functionality into one place - make them detect gmake/make BUILD/compile-pentium-gcov: - cleaned up BUILD scripts - consolidate common functionality into one place - make them detect gmake/make BUILD/compile-pentium-myodbc: - cleaned up BUILD scripts - consolidate common functionality into one place - make them detect gmake/make BUILD/compile-pentium: - cleaned up BUILD scripts - consolidate common functionality into one place - make them detect gmake/make BUILD/compile-solaris-sparc-purify: - cleaned up BUILD scripts - consolidate common functionality into one place - make them detect gmake/make BUILD/compile-solaris-sparc: - cleaned up BUILD scripts - consolidate common functionality into one place - make them detect gmake/make
Diffstat (limited to 'BUILD/compile-solaris-sparc-purify')
-rwxr-xr-xBUILD/compile-solaris-sparc-purify18
1 files changed, 7 insertions, 11 deletions
diff --git a/BUILD/compile-solaris-sparc-purify b/BUILD/compile-solaris-sparc-purify
index 2a48d71375d..bad8a569ea3 100755
--- a/BUILD/compile-solaris-sparc-purify
+++ b/BUILD/compile-solaris-sparc-purify
@@ -1,13 +1,9 @@
-gmake -k clean
-/bin/rm -f */.deps/*.P */*.o
-/bin/rm -f config.cache
-aclocal; autoheader; aclocal; automake; autoconf
+#! /bin/sh
-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"
+path=`dirname $0`
+. "$path/SETUP.sh"
-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
+extra_flags="$sparc_cflags -DHAVE_PURIFY -O2"
+extra_configs="$sparc_configs --with-debug=full"
+
+. "$path/FINISH.sh"