From a200d302c8285b180f7097738d4576884e18e668 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Fri, 13 Mar 2026 10:32:14 +0000 Subject: [PATCH] Remove unused compile options --- config.mk | 5 ----- src/CMakeLists.txt | 2 -- 2 files changed, 7 deletions(-) diff --git a/config.mk b/config.mk index 5c46f0b1..a1ad1a82 100644 --- a/config.mk +++ b/config.mk @@ -59,11 +59,6 @@ WITH_MEMORY_TRACKING:=yes # but freed with the tracking function will trigger an abort. #ALLOC_MISMATCH_ABORT:=yes -# Compile with database upgrading support? If disabled, mosquitto won't -# automatically upgrade old database versions. -# Not currently supported. -#WITH_DB_UPGRADE:=yes - # Comment out to remove publishing of the $SYS topic hierarchy containing # information about the broker state. WITH_SYS_TREE:=yes diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f20a60e8..e5e7c3d8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -132,8 +132,6 @@ if(USE_LIBWRAP) target_compile_definitions(mosquitto PRIVATE "WITH_WRAP") endif() -option_env(INC_DB_UPGRADE "Include database upgrade support? (recommended)" ON) - if(INC_MEMTRACK) target_compile_definitions(mosquitto PUBLIC "WITH_MEMORY_TRACKING") endif()