summaryrefslogtreecommitdiff
path: root/BUILD/compile-solaris-amd64-debug
diff options
context:
space:
mode:
authorToby Thain <toby@telegraphics.com.au>2009-05-09 00:01:53 -0400
committerToby Thain <toby@telegraphics.com.au>2009-05-09 00:01:53 -0400
commit13c45ccbd3ac417da5b5236e5e81d01d093355b7 (patch)
tree270796df7f5051523be35e6b4531e53b9f74567d /BUILD/compile-solaris-amd64-debug
parent059b9356a19118a48fbad31be81c4859e15d3bc8 (diff)
downloadmariadb-git-13c45ccbd3ac417da5b5236e5e81d01d093355b7.tar.gz
Portability changes for Solaris 10 (amd64). Re-hash BUILD/ scripts for Solaris to be more in line with generic scripts.
Diffstat (limited to 'BUILD/compile-solaris-amd64-debug')
-rwxr-xr-x[-rw-r--r--]BUILD/compile-solaris-amd64-debug13
1 files changed, 7 insertions, 6 deletions
diff --git a/BUILD/compile-solaris-amd64-debug b/BUILD/compile-solaris-amd64-debug
index ad1c298907f..3bc095ae385 100644..100755
--- a/BUILD/compile-solaris-amd64-debug
+++ b/BUILD/compile-solaris-amd64-debug
@@ -1,10 +1,11 @@
-#! /bin/sh
+#!/bin/sh
+
path=`dirname $0`
. "$path/SETUP.sh"
-amd64_cflags="-m64 -mtune=athlon64"
-extra_flags="$amd64_cflags $debug_cflags $max_cflags"
-c_warnings="$c_warnings $debug_extra_warnings"
-cxx_warnings="$cxx_warnings $debug_extra_warnings"
-extra_configs="$amd64_configs $debug_configs $max_configs --enable-thread-safe-client"
+extra_flags="$amd64_cflags -D__sun -m64 -mtune=athlon64 $debug_cflags"
+extra_configs="$amd64_configs $debug_configs $max_configs --with-libevent"
+
+LDFLAGS="-lmtmalloc -static-libgcc"
+export LDFLAGS
. "$path/FINISH.sh"