Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Commit

Permalink
Force -lgcov harder when running make coverage.
Browse files Browse the repository at this point in the history
Shouldn't be needed, but I had to make this tweak to make this work again.
  • Loading branch information
hishamhm committed Feb 19, 2016
1 parent f5ddb97 commit a8a5e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Expand Up @@ -95,7 +95,7 @@ debug:
$(MAKE) all CFLAGS="" AM_CPPFLAGS="-ggdb -DDEBUG"

coverage:
$(MAKE) all CFLAGS="" AM_CPPFLAGS="-fprofile-arcs -ftest-coverage -DDEBUG" AM_LDFLAGS="-lgcov"
$(MAKE) all CFLAGS="" AM_CPPFLAGS="-fprofile-arcs -ftest-coverage -DDEBUG" LDFLAGS="-lgcov"

.c.h:
@srcdir@/scripts/MakeHeader.py $<
Expand Down

0 comments on commit a8a5e62

Please sign in to comment.