summaryrefslogtreecommitdiff
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
parent74a923cd15bc3d61c2da2bda3fbf933f760be2bb (diff)
Apply fix from BTS for #595875 (version 0.9.3-2)debian/0.9.3-2
-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)