summarylogtreecommitdiffstats
path: root/redis-use-system-jemalloc.patch
blob: 721e9cf5e68863edc5ea16feea6d2c6878a4380d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/Makefile	2018-09-22 13:30:15.580979499 -0400
+++ src/Makefile	2018-09-22 13:30:19.690995581 -0400
@@ -120,9 +120,8 @@
 endif
 
 ifeq ($(MALLOC),jemalloc)
-	DEPENDENCY_TARGETS+= jemalloc
-	FINAL_CFLAGS+= -DUSE_JEMALLOC -I../deps/jemalloc/include
-	FINAL_LIBS := ../deps/jemalloc/lib/libjemalloc.a $(FINAL_LIBS)
+	FINAL_CFLAGS+= -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE -I/usr/include/jemalloc
+	FINAL_LIBS+= -ljemalloc
 endif
 
 REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS)