archrelease: copy trunk to community-any
[ArchLinux/community.git] / redis / trunk / redis-5.0-use-system-jemalloc.patch
blob7597a7e49b362064b119a1a74edeaf9ecc796e0a
1 diff --git a/src/Makefile b/src/Makefile
2 index 3bc9f11c0..a4b23d986 100644
3 --- a/src/Makefile
4 +++ b/src/Makefile
5 @@ -229,8 +229,8 @@ endif
7 ifeq ($(MALLOC),jemalloc)
8 DEPENDENCY_TARGETS+= jemalloc
9 - FINAL_CFLAGS+= -DUSE_JEMALLOC -I../deps/jemalloc/include
10 - FINAL_LIBS := ../deps/jemalloc/lib/libjemalloc.a $(FINAL_LIBS)
11 + FINAL_CFLAGS+= -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE -I/usr/include/jemalloc
12 + FINAL_LIBS := -ljemalloc $(FINAL_LIBS)
13 endif
15 ifeq ($(BUILD_TLS),yes)