Debian Codegraph @

BUILD/compile-pentium64-gcov

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 modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; version 2 of the License.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
18
19 set -x -v
20 path=`dirname $0`
21
22 # Need to disable ccache, or we loose the gcov-needed compiler output files.
23 CCACHE_DISABLE=1
24 export CCACHE_DISABLE
25
26 . "$path/SETUP.sh"
27
28 export LDFLAGS="$gcov_link_flags"
29
30 extra_flags="$pentium64_cflags $max_cflags $gcov_compile_flags"
31 c_warnings="$c_warnings $debug_extra_warnings"
32 cxx_warnings="$cxx_warnings $debug_extra_warnings"
33 extra_configs="$pentium_configs $debug_configs $gcov_configs $max_configs --without-oqgraph"
34
35 . "$path/FINISH.sh"