Add a linker flag to enable gcov in basic-build-test.sh

This commit is contained in:
Philippe Antoine 2019-07-09 17:44:53 +02:00
parent daab28a4af
commit 702c65922f

View File

@ -64,6 +64,7 @@ echo
# Step 1 - Make and instrumented build for code coverage # Step 1 - Make and instrumented build for code coverage
export CFLAGS=' --coverage -g3 -O0 ' export CFLAGS=' --coverage -g3 -O0 '
export LDFLAGS=' --coverage'
make clean make clean
cp "$CONFIG_H" "$CONFIG_BAK" cp "$CONFIG_H" "$CONFIG_BAK"
scripts/config.pl full scripts/config.pl full