2009-05-09 06:01:53 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2010-12-28 19:57:23 +01:00
|
|
|
# Copyright (C) 2007 MySQL AB
|
2014-02-17 13:49:04 +01:00
|
|
|
# Use is subject to license terms
|
|
|
|
#
|
2010-12-28 19:57:23 +01:00
|
|
|
# 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
|
2019-05-11 20:29:06 +02:00
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
|
2010-12-28 19:57:23 +01:00
|
|
|
|
2007-11-10 11:03:07 +01:00
|
|
|
path=`dirname $0`
|
|
|
|
. "$path/SETUP.sh"
|
2009-05-09 06:01:53 +02:00
|
|
|
extra_flags="$amd64_cflags -D__sun -m64 -mtune=athlon64 $debug_cflags"
|
|
|
|
extra_configs="$amd64_configs $debug_configs $max_configs --with-libevent"
|
|
|
|
|
2013-05-15 15:28:12 +02:00
|
|
|
LDFLAGS="-m64 -lmtmalloc -R/usr/sfw/lib/64"
|
2009-05-09 06:01:53 +02:00
|
|
|
export LDFLAGS
|
2007-11-10 11:03:07 +01:00
|
|
|
|
|
|
|
. "$path/FINISH.sh"
|