summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
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 329f836..7d81463 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)