diff options
Diffstat (limited to '0003-redis-3.2.5-use-system-jemalloc.patch')
-rw-r--r-- | 0003-redis-3.2.5-use-system-jemalloc.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/0003-redis-3.2.5-use-system-jemalloc.patch b/0003-redis-3.2.5-use-system-jemalloc.patch new file mode 100644 index 0000000..f8d254c --- /dev/null +++ b/0003-redis-3.2.5-use-system-jemalloc.patch @@ -0,0 +1,15 @@ +diff -up src/Makefile.jem src/Makefile +--- src/Makefile.jem 2016-10-27 11:00:29.486075147 +0200 ++++ src/Makefile 2016-10-27 11:02:33.554729427 +0200 +@@ -103,9 +103,8 @@ ifeq ($(MALLOC),tcmalloc_minimal) + endif + + ifeq ($(MALLOC),jemalloc) +- DEPENDENCY_TARGETS+= jemalloc +- FINAL_CFLAGS+= -DUSE_JEMALLOC -I../deps/jemalloc/include +- FINAL_LIBS+= ../deps/jemalloc/lib/libjemalloc.a ++ FINAL_CFLAGS+= -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE -I/usr/include/jemalloc ++ FINAL_LIBS+= -ljemalloc -ldl + endif + + REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS) |