diff options
author | tim@cane.mysql.fi <> | 2000-12-18 23:24:19 +0200 |
---|---|---|
committer | tim@cane.mysql.fi <> | 2000-12-18 23:24:19 +0200 |
commit | 34efa902b094c7a6248be121f856cbef6e9dbe28 (patch) | |
tree | 144029d1dacb5aaa27e21b64dbfc97258409e2ab /BUILD/compile-solaris-sparc-purify | |
parent | 5fdf032769b996bc084e35ffe1140e13500de3dd (diff) | |
download | mariadb-git-34efa902b094c7a6248be121f856cbef6e9dbe28.tar.gz |
- 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-x | BUILD/compile-solaris-sparc-purify | 18 |
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" |