From d70184d1b91aa1e57f6d72a1b68c4bcf2c390a45 Mon Sep 17 00:00:00 2001 From: Alastair McKinstry Date: Wed, 2 Oct 2019 17:42:11 +0100 Subject: [PATCH] Disable format-security as it breaks on autogenerated code --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index 6163941..c34075f 100755 --- a/debian/rules +++ b/debian/rules @@ -10,6 +10,8 @@ export DH_VERBOSE=1 export DH_OPTIONS=-v +CXXFLAGS:= $(filter-out -Werror=format-security, (shell dpkg-buildflags --get CXXFLAGS)) + DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel)) -- 2.30.2