~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to BUILD/compile-pentium-gcov

  • Committer: Stewart Smith
  • Date: 2008-06-30 05:33:25 UTC
  • mfrom: (12.2.8 drizzle)
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: stewart@flamingspork.com-20080630053325-mwrv6bjaufcpvj8n
merge my work

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
 
3
 
# Need to disable ccache, or we loose the gcov-needed compiler output files.
4
 
 
5
 
USING_GCOV=1
6
 
CCACHE_GCOV_VERSION_ENABLED=0
7
 
if ccache -V > /dev/null 2>&1
8
 
then
9
 
  CCACHE_VER=`ccache -V | head -1 | sed s/"ccache version "//`
10
 
  if test "$CCACHE_VER" == "2.4-gcov"
11
 
  then
12
 
    CCACHE_GCOV_VERSION_ENABLED=1
13
 
  else
14
 
    CCACHE_DISABLE=1
15
 
    export CCACHE_DISABLE
16
 
  fi
17
 
fi
18
 
export CCACHE_GCOV_VERSION_ENABLED
19
 
 
20
 
path=`dirname $0`
21
 
. "$path/SETUP.sh"
22
 
 
23
 
export LDFLAGS="$gcov_link_flags"
24
 
 
25
 
extra_flags="$pentium_cflags $debug_cflags $max_cflags $gcov_compile_flags"
26
 
c_warnings="$c_warnings $debug_extra_warnings"
27
 
cxx_warnings="$cxx_warnings $debug_extra_warnings"
28
 
extra_configs="$pentium_configs $debug_configs $gcov_configs $max_configs"
29
 
 
30
 
. "$path/FINISH.sh"