~stewart/drizzle/embedded-innodb-create-select-transaction-arrgh

« back to all changes in this revision

Viewing changes to BUILD/compile-pentium-gcov

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

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"