mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
36d8535a4f
Link with mtmalloc on Solaris as it is done in our release builds. Replace deprecated flag with the newer option as already done in other scripts. BUILD/compile-solaris-amd64-forte: Link to mtmalloc and replace deprecated flag. BUILD/compile-solaris-amd64-forte-debug: Replace deprecated flag. BUILD/compile-solaris-sparc: Link to mtmalloc. BUILD/compile-solaris-sparc-forte: Link to mtmalloc
14 lines
894 B
Bash
Executable file
14 lines
894 B
Bash
Executable file
#! /bin/sh
|
|
|
|
make -k clean || true
|
|
/bin/rm -f */.deps/*.P config.cache
|
|
|
|
# gcc is often in /usr/ccs/bin or /usr/local/bin
|
|
PATH=$PATH:/usr/ccs/bin:/usr/local/bin
|
|
|
|
path=`dirname $0`
|
|
. "$path/autorun.sh"
|
|
|
|
CFLAGS="-g -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused -O3 -fno-omit-frame-pointer -mcpu=v8 -Wa,-xarch=v8plusa" CXX=gcc CXXFLAGS="-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Woverloaded-virtual -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" LIBS="-lmtmalloc" ./configure --prefix=/usr/local/mysql --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client
|
|
|
|
make -j 4
|