mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / BUILD / compile-amd64-gcov
blob8f718b509aa8bfb16fa7747b6f75730d377b55c6
1 #! /bin/sh
3 # Copyright (C) 2007 MySQL AB
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; version 2 of the License.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
18 path=`dirname $0`
19 . "$path/SETUP.sh"
21 # Need to disable ccache, or we loose the gcov-needed compiler output files.
22 CCACHE_DISABLE=1
23 export CCACHE_DISABLE
25 export LDFLAGS="$gcov_link_flags"
27 extra_flags="$amd64_cflags $debug_cflags $max_cflags $gcov_compile_flags"
28 c_warnings="$c_warnings $debug_extra_warnings"
29 cxx_warnings="$cxx_warnings $debug_extra_warnings"
30 extra_configs="$amd64_configs $debug_configs $gcov_configs $max_configs"
32 . "$path/FINISH.sh"