From 5dfe70377006b5b1031879ce69644c767049bd31 Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Fri, 15 Oct 2021 00:00:11 +0200 Subject: [PATCH] package/nftables: disable debug build nftbles' --with-debug option enables both debugging symbols (with -g) and debugging macros (with -DDEBUG). The former are globally driven by the BR2_ENABLE_DEBUG and BR2_DEBUG_n set of options, and enforced in our toolchain wrapper; the latter should be driven by the BR2_ENABLE_RUNTIME_DEBUG, but nftables only uses it to activate an assert-like macro in its json output generator, so we can well live without that. So we just unconditionally disable debug in nftables. Signed-off-by: Peter Seiderer [yann.morin.1998@free.fr: write a commit log] Signed-off-by: Yann E. MORIN --- package/nftables/nftables.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/nftables/nftables.mk b/package/nftables/nftables.mk index 6a27975a53..2409eb0571 100644 --- a/package/nftables/nftables.mk +++ b/package/nftables/nftables.mk @@ -10,7 +10,7 @@ NFTABLES_SITE = https://www.netfilter.org/projects/nftables/files NFTABLES_DEPENDENCIES = libmnl libnftnl host-pkgconf $(TARGET_NLS_DEPENDENCIES) NFTABLES_LICENSE = GPL-2.0 NFTABLES_LICENSE_FILES = COPYING -NFTABLES_CONF_OPTS = --disable-man-doc --disable-pdf-doc +NFTABLES_CONF_OPTS = --disable-debug --disable-man-doc --disable-pdf-doc NFTABLES_SELINUX_MODULES = iptables ifeq ($(BR2_PACKAGE_GMP),y)