'make coverage' create the same results for regular and shared makefile

This commit is contained in:
Steffen Jaeckel 2016-01-13 23:23:19 +01:00
parent 3ae9d0fbd2
commit d07425e670
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ ifndef LIBNAME
LIBNAME=libtommath.a
endif
coverage: LIBNAME:=-Wl,--whole-archive $(LIBNAME) -Wl,--no-whole-archive
include makefile.include
LCOV_ARGS=--directory .