summaryrefslogtreecommitdiff
path: root/bin/Prepare
blob: 871c03af69f8fb6461998e1eeaf102c793d9117d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -x
set -e

sh ./autogen.sh

CFLAGS="-O0 -g -Wall --coverage" ./configure

# NOTES:

# Coverage data matches the source files more closely if you do not optimize.

# --coverage
# This option is used to compile and link code instrumented for coverage
# analysis. The option is a synonym for -fprofile-arcs -ftest-coverage
# (when compiling) and -lgcov (when linking).