2014-09-13 13:05:11 +00:00
|
|
|
From 50a409c4f9f753c97c49fd10a44fd7c5f737aea6 Mon Sep 17 00:00:00 2001
|
2014-09-11 15:08:56 +00:00
|
|
|
From: =?UTF-8?q?Ha=C3=AFkel=20Gu=C3=A9mar?= <hguemar@fedoraproject.org>
|
|
|
|
Date: Thu, 11 Sep 2014 13:41:17 +0200
|
2014-09-13 13:05:11 +00:00
|
|
|
Subject: [PATCH 3/5] redis 2.8.11: use system jemalloc
|
2014-09-11 15:08:56 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
src/Makefile | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/src/Makefile b/src/Makefile
|
|
|
|
index 8b3e959..af6a4fe 100644
|
|
|
|
--- a/src/Makefile
|
|
|
|
+++ b/src/Makefile
|
|
|
|
@@ -90,8 +90,8 @@ endif
|
2014-06-19 06:42:22 +00:00
|
|
|
|
|
|
|
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)
|
2014-09-11 15:08:56 +00:00
|
|
|
--
|
|
|
|
1.9.3
|
|
|
|
|