git » libjio » commit 1b41c37

libjio: Fix profile build

author Alberto Bertogli
2009-07-03 07:43:39 UTC
committer Alberto Bertogli
2009-07-03 07:43:39 UTC
parent 4001c2f2cbc3c739c606d036e59328d616eee190

libjio: Fix profile build

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

libjio/Makefile +2 -0

diff --git a/libjio/Makefile b/libjio/Makefile
index 8ce1ca1..27125bc 100644
--- a/libjio/Makefile
+++ b/libjio/Makefile
@@ -17,10 +17,12 @@ LIBS = -lpthread $(NEED_LIBRT)
 
 ifdef DEBUG
 ALL_CFLAGS += -g
+ALL_LDFLAGS += -g
 endif
 
 ifdef PROFILE
 ALL_CFLAGS += -g -pg -fprofile-arcs -ftest-coverage
+ALL_LDFLAGS += -g -pg -fprofile-arcs -ftest-coverage -lgcov
 endif
 
 ifdef FI