Skip to content

Commit 516dfba

Browse files
lhtedsiper
authored andcommitted
build: remove jemalloc flag --enable-cc-silence
This change removes the message: `configure: WARNING: unrecognized options: --enable-cc-silence` when build fluent-bit. The flag was replace by --disable-cc-silence in jemalloc v4.0.0 jemalloc/jemalloc@644d414 Signed-off-by: Haitao Li <[email protected]>
1 parent 3c5c743 commit 516dfba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ if(FLB_JEMALLOC AND ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
529529
# Link to Jemalloc as an external dependency
530530
ExternalProject_Add(jemalloc
531531
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/lib/jemalloc-5.2.1
532-
CONFIGURE_COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/lib/jemalloc-5.2.1/configure ${AUTOCONF_HOST_OPT} --with-lg-quantum=3 --enable-cc-silence --prefix=<INSTALL_DIR>
532+
CONFIGURE_COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/lib/jemalloc-5.2.1/configure ${AUTOCONF_HOST_OPT} --with-lg-quantum=3 --prefix=<INSTALL_DIR>
533533
CFLAGS=-std=gnu99\ -Wall\ -pipe\ -g3\ -O3\ -funroll-loops
534534
BUILD_COMMAND $(MAKE)
535535
INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/

0 commit comments

Comments
 (0)