summaryrefslogtreecommitdiff
path: root/BUILD/compile-solaris-sparc-forte
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2008-09-30 17:57:48 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2008-09-30 17:57:48 -0300
commit36d8535a4fe68df5577e94a71a151a816606be2e (patch)
tree26e076878f87bc16432b8336df9e206f45ba8065 /BUILD/compile-solaris-sparc-forte
parent0d24398697469deebd2b58cb16e355c09febbebc (diff)
downloadmariadb-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-sparc-forte')
-rwxr-xr-xBUILD/compile-solaris-sparc-forte2
1 files changed, 1 insertions, 1 deletions
diff --git a/BUILD/compile-solaris-sparc-forte b/BUILD/compile-solaris-sparc-forte
index b9fffcb7fdd..f4bf86517d1 100755
--- a/BUILD/compile-solaris-sparc-forte
+++ b/BUILD/compile-solaris-sparc-forte
@@ -29,7 +29,7 @@ EXTRA="-fast" # Remove comment to target current machine
STD="-mt -D_FORTEC_ $EXTRA $EXTRA_64_BIT"
CC=cc-5.0 CFLAGS="-Xa -xstrconst $STD" \
-CXX=CC CXXFLAGS="-noex $STD" \
+CXX=CC CXXFLAGS="-noex $STD" LIBS="-lmtmalloc" \
./configure --prefix=/usr/local/mysql --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client --prefix=$PREFIX
make -j 4