Add a linker flag to enable gcov in basic-build-test.sh
This commit is contained in:
parent
daab28a4af
commit
702c65922f
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ echo
|
|||
|
||||
# Step 1 - Make and instrumented build for code coverage
|
||||
export CFLAGS=' --coverage -g3 -O0 '
|
||||
export LDFLAGS=' --coverage'
|
||||
make clean
|
||||
cp "$CONFIG_H" "$CONFIG_BAK"
|
||||
scripts/config.pl full
|
||||
|
|
Loading…
Reference in a new issue