summarylogtreecommitdiffstats
path: root/redict-5.0-use-system-jemalloc.patch
diff options
context:
space:
mode:
authorfossdd2024-04-01 16:32:25 +0000
committerfossdd2024-04-01 16:32:25 +0000
commitad1a77d9e320ecc41ab48f192a2ad712d6bbef0a (patch)
tree54d77dc9fa3bb0a2f5b5c292475821305b1f8659 /redict-5.0-use-system-jemalloc.patch
parent8bc39375b2b41a1b5f947783b06be99f2a2d481b (diff)
downloadaur-redict-git.tar.gz
merge with redict-db-git
Diffstat (limited to 'redict-5.0-use-system-jemalloc.patch')
-rw-r--r--redict-5.0-use-system-jemalloc.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/redict-5.0-use-system-jemalloc.patch b/redict-5.0-use-system-jemalloc.patch
new file mode 100644
index 000000000000..7597a7e49b36
--- /dev/null
+++ b/redict-5.0-use-system-jemalloc.patch
@@ -0,0 +1,15 @@
+diff --git a/src/Makefile b/src/Makefile
+index 3bc9f11c0..a4b23d986 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -229,8 +229,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
+
+ ifeq ($(BUILD_TLS),yes)