Package: lzip Version: 1.22-2 Tags: patch Dear Maintainer, lzip version 1.22-2 did specify using hardening options, but unfortunately the upstream configure script does not regard the environment variable CXXFLAGS set by the Debian build environment. Please consider applying the appended patch to pass the CXXFLAGS from the environment to the build system, as it enables '-g -O2 -ffile-prefix-map=/build/lzip-1.22=. -fstack-protector-strong -Wformat -Werror=format-security'.
Best regards, Christian Göttsche --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 2fdd390..25b7f09 100755 --- a/debian/rules +++ b/debian/rules @@ -9,7 +9,7 @@ include /usr/share/dpkg/buildtools.mk dh ${@} override_dh_auto_configure: - dh_auto_configure -- 'CXX=$(CXX) -g' + dh_auto_configure -- 'CXXFLAGS=-Wall -Wextra ${CXXFLAGS}' override_dh_auto_install: dh_auto_install -- DESTDIR=$(CURDIR)/debian/lzip -- 2.30.0