Debian Codegraph @

BUILD/compile-pentium64-max

raw
1 #! /bin/sh
2
3 # Copyright (C) 2007 MySQL AB
4 # Use is subject to license terms
5 #
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU Library General Public
8 # License as published by the Free Software Foundation; version 2
9 # of the License.
10 #
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # Library General Public License for more details.
15 #
16 # You should have received a copy of the GNU Library General Public
17 # License along with this library; if not, write to the Free
18 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 # MA 02110-1335 USA
20
21 path=`dirname $0`
22 . "$path/SETUP.sh"
23
24 extra_flags="$pentium64_cflags $fast_cflags"
25 # On CentOS/Fedora Core 10 amd64, there is system libz.so but not
26 # libz.a, so need to use bundled zlib when building static
27 # binary. Hence we use --with-zlib-dir=bundled
28 extra_configs="$pentium_configs $max_configs $static_link --with-zlib-dir=bundled"
29 CC="$CC --pipe"
30 strip=yes
31
32 . "$path/FINISH.sh"