diff options
author | Eric Hameleers <alien@slackware.com> | 2022-01-25 12:46:16 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2022-01-25 12:46:16 +0000 |
commit | cd08470cb4bd94e5c0ae209022713515383ef661 (patch) | |
tree | f582e83c4b66b40d982926e292fcd2c5eb338d4b /redis | |
parent | dfdfdb33602aa423667c30b1df33836175f3c176 (diff) | |
download | asb-cd08470cb4bd94e5c0ae209022713515383ef661.tar.gz asb-cd08470cb4bd94e5c0ae209022713515383ef661.tar.xz |
Initial revision
Diffstat (limited to 'redis')
-rw-r--r-- | redis/build/patches/redis-5.0-use-system-jemalloc.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/redis/build/patches/redis-5.0-use-system-jemalloc.patch b/redis/build/patches/redis-5.0-use-system-jemalloc.patch new file mode 100644 index 00000000..93ca8286 --- /dev/null +++ b/redis/build/patches/redis-5.0-use-system-jemalloc.patch @@ -0,0 +1,15 @@ +diff --git a/src/Makefile b/src/Makefile +index 912cbc19..6840ce08 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -125,8 +125,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 $(FINAL_LIBS) + endif + + REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS) |