From d6674e73cde1f2ff27cc4309edb321432c80e369 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Thu, 29 Dec 2022 18:38:44 +0200 Subject: [PATCH] Explicitly define build type to add NDEBUG flag --- debian/rules | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index 616e0d6d8..08301bc97 100755 --- a/debian/rules +++ b/debian/rules @@ -8,6 +8,7 @@ override_dh_auto_configure: dh_auto_configure -- \ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \ -DCMAKE_INSTALL_RPATH=/usr/lib/$(DEB_HOST_MULTIARCH)/vcmi \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DBIN_DIR=games \ -DFORCE_BUNDLED_FL=OFF \ -DENABLE_TEST=0