From 447b5534d02b99327d73ac15edb43bcf5d793e7e Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 18 Dec 2000 23:24:19 +0200 Subject: - 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 --- BUILD/compile-pentium-debug-no-bdb | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) (limited to 'BUILD/compile-pentium-debug-no-bdb') diff --git a/BUILD/compile-pentium-debug-no-bdb b/BUILD/compile-pentium-debug-no-bdb index b7f931a6718..fad58bec437 100755 --- a/BUILD/compile-pentium-debug-no-bdb +++ b/BUILD/compile-pentium-debug-no-bdb @@ -1,19 +1,9 @@ -make -k clean -/bin/rm -f */.deps/*.P config.cache +#! /bin/sh -aclocal; autoheader; aclocal; automake; autoconf +path=`dirname $0` +. "$path/SETUP.sh" -# If you are not using codefusion add "-Wpointer-arith" to WARNINGS -# The following warning flag will give too many warnings: -# -Wshadow -Wunused -Winline (The later isn't usable in C++ as -# __attribute()__ doesn't work with gnu C++) +extra_flags="$pentium_cflags $debug_cflags" +extra_configs="$pentium_configs $debug_configs --without-berkeley-db" -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="-DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -O2 -mpentiumpro $C_WARNINGS" CXX=gcc \ -CXXFLAGS="-DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -O2 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti $CC_WARNINGS" \ -./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charsets=complex --with-debug=full -make +. "$path/FINISH.sh" -- cgit v1.2.1