summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorAndreas Rottmann <a.rottmann@gmx.at>2010-09-08 21:47:48 +0200
committerAndreas Rottmann <a.rottmann@gmx.at>2010-09-08 21:47:48 +0200
commit050ca4fb1c00345aaff5f979c510c474fd8297a1 (patch)
treeb7f0afc6a309175963976e9b00d43115855b2745 /debian/rules
parent74a923cd15bc3d61c2da2bda3fbf933f760be2bb (diff)
Apply fix from BTS for #595875 (version 0.9.3-2)debian/0.9.3-2
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 329f8366..7d81463e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,11 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/buildvars.mk
+
+ifneq ($(findstring $(DEB_BUILD_ARCH), mips mipsel),)
+ CFLAGS += -mplt
+endif
DEB_CONFIGURE_EXTRA_FLAGS := --disable-Werror
DEB_DH_INSTALL_ARGS := --sourcedir=$(DEB_DESTDIR)