From 050ca4fb1c00345aaff5f979c510c474fd8297a1 Mon Sep 17 00:00:00 2001 From: Andreas Rottmann Date: Wed, 8 Sep 2010 21:47:48 +0200 Subject: Apply fix from BTS for #595875 (version 0.9.3-2) --- debian/changelog | 7 +++++++ debian/rules | 5 +++++ 2 files changed, 12 insertions(+) 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 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) -- cgit v1.2.3