]> git.saurik.com Git - redis.git/commitdiff
Rebuild source when allocator changes
authorPieter Noordhuis <pcnoordhuis@gmail.com>
Tue, 15 Nov 2011 21:09:31 +0000 (13:09 -0800)
committerPieter Noordhuis <pcnoordhuis@gmail.com>
Tue, 15 Nov 2011 21:09:34 +0000 (13:09 -0800)
To do so, the Makefile stores the contents of the MALLOC environment
variable in a file named .make-malloc. When the contents of this file
and the MALLOC variable are not equal, it forces a rebuild of the Redis
source tree.

A side-effect of this change is that choosing an allocator can now be
done using the single MALLOC variable instead of USE_TCMALLOC,
USE_JEMALLOC and so forth. These variables continue to work for
backwards compatibility.


No differences found