Skip to content

Commit 8228ec9

Browse files
committed
Disable building and installing the jemalloc's documentation
Fixes: #1128 Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 8c841b8 commit 8228ec9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,12 @@ else()
186186
# --disable-initial-exec-tls - Disable the initial-exec TLS model for
187187
# jemalloc's internal thread-local storage (on those platforms that
188188
# support explicit settings). This can allow jemalloc to be dynamically
189-
# loaded after program startup (e.g. using dlopen).
189+
# loaded after program startup (e.g. using dlopen). --disable-doc -
190+
# Disable building and installing the documentation.
190191
COMMAND
191192
./configure --prefix=${jemalloc_targ_BINARY_DIR}
192193
--with-jemalloc-prefix=je_ --disable-cxx --disable-initial-exec-tls
193-
CFLAGS=-fPIC
194+
--disable-doc CFLAGS=-fPIC
194195
WORKING_DIRECTORY ${jemalloc_targ_SOURCE_DIR}
195196
OUTPUT ${jemalloc_targ_SOURCE_DIR}/Makefile
196197
DEPENDS ${jemalloc_targ_SOURCE_DIR}/configure)

0 commit comments

Comments
 (0)