From 8ef2bb53661e24d78506185ccfa167f1b742b9be Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Thu, 29 Oct 2015 16:16:47 -0400 Subject: [PATCH] contrib/local.mk.example: Mention ENABLE_JEMALLOC This doesn't prevent compilation of jemalloc, but the important thing is that it prevents it being used in nvim. refs 6cd20177df9d675c4c8de9ae27ce8c0ea2a94cca refs 95707bf336794c7ec8991917f184c02ae873dd8c --- contrib/local.mk.example | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/local.mk.example b/contrib/local.mk.example index 1c3ea4ab40..4e7b01a39f 100644 --- a/contrib/local.mk.example +++ b/contrib/local.mk.example @@ -7,6 +7,10 @@ # These CFLAGS can be used in addition to those specified in CMakeLists.txt: # CMAKE_EXTRA_FLAGS="-DCMAKE_C_FLAGS=-ftrapv -Wlogical-op" +# By default, the jemalloc family of memory allocation functions are used. +# Uncomment the following to instead use libc memory allocation functions. +# CMAKE_EXTRA_FLAGS += -DENABLE_JEMALLOC=OFF + # Sets the build type; defaults to Debug. Valid values: # # - Debug: Disables optimizations (-O0), enables debug information.