summaryrefslogtreecommitdiffstats
path: root/BUILD/compile-solaris-amd64-debug
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD/compile-solaris-amd64-debug')
-rwxr-xr-xBUILD/compile-solaris-amd64-debug27
1 files changed, 27 insertions, 0 deletions
diff --git a/BUILD/compile-solaris-amd64-debug b/BUILD/compile-solaris-amd64-debug
new file mode 100755
index 00000000..78d66495
--- /dev/null
+++ b/BUILD/compile-solaris-amd64-debug
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+# Copyright (C) 2007 MySQL AB
+# Use is subject to license terms
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
+
+path=`dirname $0`
+. "$path/SETUP.sh"
+extra_flags="$amd64_cflags -D__sun -m64 -mtune=athlon64 $debug_cflags"
+extra_configs="$amd64_configs $debug_configs $max_configs --with-libevent"
+
+LDFLAGS="-m64 -lmtmalloc -R/usr/sfw/lib/64"
+export LDFLAGS
+
+. "$path/FINISH.sh"