~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109

« back to all changes in this revision

Viewing changes to BUILD/compile-amd64-gcov

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2011-11-08 11:31:13 UTC
  • Revision ID: package-import@ubuntu.com-20111108113113-3ulw01fvi4vn8m25
Tags: upstream-5.5.17
ImportĀ upstreamĀ versionĀ 5.5.17

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
 
 
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.
 
13
 
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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
17
 
 
18
path=`dirname $0`
 
19
. "$path/SETUP.sh"
 
20
 
 
21
# Need to disable ccache, or we loose the gcov-needed compiler output files.
 
22
CCACHE_DISABLE=1
 
23
export CCACHE_DISABLE
 
24
 
 
25
export LDFLAGS="$gcov_link_flags"
 
26
 
 
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"
 
31
 
 
32
. "$path/FINISH.sh"