From 7f32820c3ea9539738d4ef0457c3140622b868ca Mon Sep 17 00:00:00 2001 From: Dimitrios Eftaxiopoulos Date: Tue, 4 Dec 2018 17:52:16 +0200 Subject: [PATCH] Try to fix FTBFS on mips and mipsel arches --- debian/rules | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/rules b/debian/rules index 64beed8..40599c9 100755 --- a/debian/rules +++ b/debian/rules @@ -10,6 +10,12 @@ export DH_VERBOSE=1 export DH_OPTIONS=-v +DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) + +ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel)) + export DEB_CXXFLAGS_MAINT_APPEND = -g0 +endif + DOTTED:=`py3versions -d | sed 's/python//' ` NODOT:=`py3versions -d | sed 's/\.//' | sed 's/python//' ` -- 2.30.2