mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
16 lines
517 B
Diff
16 lines
517 B
Diff
|
Index: redis-2.8.11/src/Makefile
|
||
|
===================================================================
|
||
|
--- redis-2.8.11.orig/src/Makefile
|
||
|
+++ redis-2.8.11/src/Makefile
|
||
|
@@ -84,8 +84,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
|
||
|
endif
|
||
|
|
||
|
REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS)
|