knot-resolver: disable jemalloc support
authorNoah Meyerhans <[email protected]>
Fri, 4 Jul 2025 16:23:16 +0000 (12:23 -0400)
committerJosef Schlehofer <[email protected]>
Tue, 8 Jul 2025 06:21:38 +0000 (08:21 +0200)
knot-resolver will attempt to use jemalloc if it's available.
Jemalloc was added to openwrt packages in PR: Add jemalloc and integrate into bind #26721 [1].
At this time, we would rather continue linking with the libc malloc,
so this PR disables jemalloc support explicitly in the knot-resolver build configuration.

[1] https://github.com/openwrt/packages/pull/26721#issuecomment-2973865778

Signed-off-by: Noah Meyerhans <[email protected]>
net/knot-resolver/Makefile

index fdeb0f7afcd886b8eeeeac63d585fa46799539fa..fe1e508e6f9eb651752950bacb55c2d2e8d937c7 100644 (file)
@@ -66,7 +66,8 @@ MESON_ARGS+= \
        -Dkeyfile_default=/etc/knot-resolver/root.keys \
        -Dprefix=/usr \
        -Dunit_tests=disabled \
-       -Dutils=disabled
+       -Dutils=disabled \
+       -Dmalloc=disabled
 
 define Package/knot-resolver/install
        $(INSTALL_DIR) $(1)/usr/sbin