summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog7
-rwxr-xr-xdebian/rules5
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 718a2be8..7937fdbf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libunistring (0.9.3-2) unstable; urgency=low
+
+ * Work around toolchain issue on mipsen by building with -mplt there
+ (closes: #595875, thanks to Julien BLACHE).
+
+ -- Andreas Rottmann <rotty@debian.org> Wed, 08 Sep 2010 21:45:46 +0200
+
libunistring (0.9.3-1) unstable; urgency=low
* New upstream release.
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)