Control: tags -1 patch

A patch is enclosed.
From: Bastian Germann <bastiangerm...@fishpost.de>
Date: Sat, 3 Apr 2021 14:36:37 +0200
Subject: Compile with NDEBUG set

This makes the tools' output more compatible with the original fw_*env tools.

Signed-off-by: Bastian Germann <bastiangerm...@fishpost.de>
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 3b4cf35..e668526 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
 
 CMAKE_FLAGS = \
 	-DCMAKE_VERBOSE_MAKEFILE=ON \
-	-DCMAKE_C_FLAGS_RELEASE="$(CFLAGS)" \
+	-DCMAKE_C_FLAGS_RELEASE="$(CFLAGS) NDEBUG=" \
 	-DCMAKE_EXE_LINKER_FLAGS_RELEASE="$(LDFLAGS)" \
 	-DBUILD_DOCS=ON \
 	-DCMAKE_INSTALL_INCLUDEDIR="include/$(DEB_HOST_MULTIARCH)"

Reply via email to