From 1562c606908cc75c4efa44bcd7093dc4500dcec3 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 2 May 2021 19:12:28 +0200 Subject: Debian: fix compile error "truncated writing up to 255 bytes" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit map_tacplus_user.c:334:50: error: ā€˜%s’ directive output may be truncated writing up to 255 bytes into a region of size 122 [-Werror=format-truncation=] --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 5951990..b8959fb 100755 --- a/debian/rules +++ b/debian/rules @@ -8,6 +8,9 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 SHELL := sh -e +CFLAGS = $(shell dpkg-buildflags --get CFLAGS) +CFLAGS+=-g3 -Wno-format-truncation +export CFLAGS %: dh $@ --with autoreconf -- cgit v1.2.3