diff options
author | antirez <antirez@gmail.com> | 2013-02-11 12:11:21 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-02-11 12:11:21 +0100 |
commit | fe97d7b1db826da5368e4b56cecd515c0eae860b (patch) | |
tree | c5198259b459657a54567a8f35fd12eed2a4938c | |
parent | e88517ac30dbc166e047cc7e399752a36b50cb5e (diff) | |
download | redis-fe97d7b1db826da5368e4b56cecd515c0eae860b.tar.gz |
Makefile: valgrind target added (forces -O0 and libc malloc).
-rw-r--r-- | src/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 204a27148..e20955833 100644 --- a/src/Makefile +++ b/src/Makefile @@ -217,7 +217,10 @@ gcov: $(MAKE) REDIS_CFLAGS="-fprofile-arcs -ftest-coverage -DCOVERAGE_TEST" REDIS_LDFLAGS="-fprofile-arcs -ftest-coverage" noopt: - $(MAKE) OPT="-O0" + $(MAKE) OPTIMIZATION="-O0" + +valgrind: + $(MAKE) OPTIMIZATION="-O0" MALLOC="libc" src/help.h: @../utils/generate-command-help.rb > help.h |