28 lines
791 B
Diff
28 lines
791 B
Diff
From 028b374759921656cb8a1e46198c8abbb62a4f0d Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Ha=C3=AFkel=20Gu=C3=A9mar?= <hguemar@fedoraproject.org>
|
|
Date: Mon, 8 Dec 2014 10:03:40 +0100
|
|
Subject: [PATCH 3/7] redis 2.8.18: use system jemalloc
|
|
|
|
---
|
|
src/Makefile | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/Makefile b/src/Makefile
|
|
index fdbe36a..6c27dd9 100644
|
|
--- a/src/Makefile
|
|
+++ b/src/Makefile
|
|
@@ -104,8 +104,8 @@ 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)
|
|
--
|
|
2.9.3
|
|
|