diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2008-09-30 17:57:48 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2008-09-30 17:57:48 -0300 |
commit | 36d8535a4fe68df5577e94a71a151a816606be2e (patch) | |
tree | 26e076878f87bc16432b8336df9e206f45ba8065 /BUILD/compile-solaris-amd64-forte | |
parent | 0d24398697469deebd2b58cb16e355c09febbebc (diff) | |
download | mariadb-git-36d8535a4fe68df5577e94a71a151a816606be2e.tar.gz |
Bug#38727: BUILD/compile-solaris-* scripts should compile MySQL with libmtmalloc
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
Diffstat (limited to 'BUILD/compile-solaris-amd64-forte')
-rwxr-xr-x[-rw-r--r--] | BUILD/compile-solaris-amd64-forte | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/BUILD/compile-solaris-amd64-forte b/BUILD/compile-solaris-amd64-forte index 63aceb16c04..03a566a0d12 100644..100755 --- a/BUILD/compile-solaris-amd64-forte +++ b/BUILD/compile-solaris-amd64-forte @@ -7,22 +7,23 @@ path=`dirname $0` . "$path/autorun.sh" # For "optimal" code for this computer add -fast to EXTRA -# To compile 64 bit, add -xarch=v9 to EXTRA_64_BIT +# To compile 64 bit, add -m64 to EXTRA_64_BIT -EXTRA_64_BIT="-xarch=amd64" +EXTRA_64_BIT="-m64" EXTRA="-fast" # # The following should not need to be touched # -export CC CXX CFLAGS CXXFLAGS +export CC CXX CFLAGS CXXFLAGS LIBS STD="-g -mt -D_FORTEC_ $EXTRA $EXTRA_64_BIT" ASFLAGS="$EXTRA_64_BIT" CC=cc-5.0 CFLAGS="-Xa -xstrconst $STD" CXX=CC CXXFLAGS="-noex $STD" +LIBS=-lmtmalloc ./configure \ --prefix=/usr/local/mysql \ --localstatedir=/usr/local/mysql/data \ |