summaryrefslogtreecommitdiffstats
path: root/0003-redis-3.2.5-use-system-jemalloc.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-10-27 11:14:55 +0200
committerRemi Collet <fedora@famillecollet.com>2016-10-27 11:14:55 +0200
commit7a826d919d44ee9824d5f2260c4d9d4aab277f78 (patch)
treeffc712621b71414ed53ef9f9e57d38d3e37b82af /0003-redis-3.2.5-use-system-jemalloc.patch
parent3576d6a739d0701b641fbab4e778f59c1e67c307 (diff)
redis: 3.2.5
Diffstat (limited to '0003-redis-3.2.5-use-system-jemalloc.patch')
-rw-r--r--0003-redis-3.2.5-use-system-jemalloc.patch15
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)