]> git.saurik.com Git - redis.git/commitdiff
Make gcov fixed.
authorantirez <antirez@gmail.com>
Thu, 12 Apr 2012 09:51:58 +0000 (11:51 +0200)
committerantirez <antirez@gmail.com>
Fri, 13 Apr 2012 14:12:24 +0000 (16:12 +0200)
src/Makefile

index a0e03f3e7b2ee3b72f298ba14acc4a3d5d52a238..ff4212f2843749097f90c5e5028b77f4f53ff6c3 100644 (file)
@@ -201,7 +201,7 @@ bench: $(REDIS_BENCHMARK_NAME)
        $(MAKE) CFLAGS="$(CFLAGS) -m32" LDFLAGS="$(LDFLAGS) -m32"
 
 gcov:
        $(MAKE) CFLAGS="$(CFLAGS) -m32" LDFLAGS="$(LDFLAGS) -m32"
 
 gcov:
-       $(MAKE) ADD_CFLAGS="-fprofile-arcs -ftest-coverage -DCOVERAGE_TEST"
+       $(MAKE) ADD_CFLAGS="-fprofile-arcs -ftest-coverage -DCOVERAGE_TEST" ADD_LDFLAGS="-fprofile-arcs -ftest-coverage"
 
 noopt:
        $(MAKE) OPT="-O0"
 
 noopt:
        $(MAKE) OPT="-O0"