From: Dimitrios Eftaxiopoulos Date: Tue, 4 Dec 2018 15:52:16 +0000 (+0200) Subject: Try to fix FTBFS on mips and mipsel arches X-Git-Tag: archive/raspbian/2.5-2+rpi1^2~59^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7f32820c3ea9539738d4ef0457c3140622b868ca;p=mathgl.git Try to fix FTBFS on mips and mipsel arches --- 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//' `