Try to fix FTBFS on mips and mipsel arches
authorDimitrios Eftaxiopoulos <eftaxi12@otenet.gr>
Tue, 4 Dec 2018 15:52:16 +0000 (17:52 +0200)
committerDimitrios Eftaxiopoulos <eftaxi12@otenet.gr>
Tue, 4 Dec 2018 15:52:16 +0000 (17:52 +0200)
debian/rules

index 64beed8bb53af73f9785f4ca26adb5f542cdd1a5..40599c92e414d4748be68eea48b41dcf709b67a9 100755 (executable)
 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//' `