From 223cb64968e2de1432f676c5edb64d2d8591a50d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Blin?=
 <sebastien.blin@savoirfairelinux.com>
Date: Mon, 31 Jan 2022 14:45:45 -0500
Subject: [PATCH] debian/rules: enable CMAKE_BUILD_TYPE=Release

Change-Id: Ia039569e74cce6cf2d15a6e36849cad9b3b9d489
---
 packaging/rules/debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/packaging/rules/debian/rules b/packaging/rules/debian/rules
index 1934e498..c6852139 100755
--- a/packaging/rules/debian/rules
+++ b/packaging/rules/debian/rules
@@ -38,6 +38,7 @@ CMAKE_OPTIONS=-DCHOST=${HOST_ARCH} \
   -DCMAKE_C_COMPILER=${HOST_ARCH}-gcc \
   -DCMAKE_CXX_COMPILER=${HOST_ARCH}-g++ \
   -DCMAKE_FIND_ROOT_PATH=/usr/${HOST_ARCH} \
+  -DCMAKE_BUILD_TYPE=Release \
   -DPKG_CONFIG_EXECUTABLE=/usr/bin/${HOST_ARCH}-pkg-config
 endif
 
@@ -177,7 +178,7 @@ override_dh_auto_install:
 
 	# cmake files
 	rm -rfv $(CURDIR)/debian/$(JAMI_CLIENT_PKG_NAME)/usr/lib/cmake
- 
+
 	## GNOME client
 	cd client-gnome/build && \
 		make DESTDIR=$(CURDIR)/debian/$(JAMI_CLIENT_GNOME_PKG_NAME) install
-- 
GitLab