From 14eddbd7f1a1a77e6691b5bb69b383f77ffcd2dc Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 22 Dec 2013 18:43:11 +0100 Subject: [PATCH] t/Makefile: Pass gcov flags to tests as well. Else, some tests might not compile correctly. --- t/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/t/Makefile.am b/t/Makefile.am index 20bba43..c74da44 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -1,4 +1,6 @@ -AM_CFLAGS = @STRICT_CFLAGS@ +# coverage related flags are only set when gcov is enabled +AM_CFLAGS = @STRICT_CFLAGS@ @COVERAGE_CFLAGS@ +AM_LDFLAGS = @COVERAGE_LDFLAGS@ AM_CPPFLAGS = -I$(top_srcdir)/src/include TESTS = libsysdb_test libsysdb_net_test -- 2.30.2