summarylogtreecommitdiffstats
path: root/keydb-5.0-use-system-jemalloc.patch
blob: df29d0c31cf319f3fd64b0371defc169077a4915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Makefile	2020-03-27 18:36:35.000000000 +0000
+++ Makefile-patched	2020-04-30 17:01:14.406126433 +0100
@@ -184,9 +184,9 @@
 
 ifeq ($(MALLOC),jemalloc)
 	DEPENDENCY_TARGETS+= jemalloc
-	FINAL_CFLAGS+= -DUSE_JEMALLOC -I../deps/jemalloc/include
-	FINAL_CXXFLAGS+= -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_CXXFLAGS+= -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE -I/usr/include/jemalloc
+	FINAL_LIBS := -ljemalloc $(FINAL_LIBS)
 endif
 
 ifeq ($(MALLOC),memkind)