From 702c65922f51c548a40a6fd4a112e7568cf9d207 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Tue, 9 Jul 2019 17:44:53 +0200 Subject: [PATCH] Add a linker flag to enable gcov in basic-build-test.sh --- tests/scripts/basic-build-test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/scripts/basic-build-test.sh b/tests/scripts/basic-build-test.sh index 2c9deb9ba1..4b71ff69bb 100755 --- a/tests/scripts/basic-build-test.sh +++ b/tests/scripts/basic-build-test.sh @@ -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