summaryrefslogtreecommitdiffstats
path: root/0003-redis-2.8.11-use-system-jemalloc.patch
blob: 8c1d99766b74ca4c0935533df90a6b4293683f6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/src/Makefile	2013-04-30 15:15:56.000000000 +0200
+++ b/src/Makefile	2013-06-19 12:58:12.345612310 +0200
@@ -93,9 +93,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 -ldl
+  FINAL_CFLAGS+= -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE -I/usr/include/jemalloc
+  FINAL_LIBS+= -ljemalloc -ldl
 endif
 
 REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS)