retitle 595875 libunistring: FTBFS on mips and mipsel
block 595875 by 519006
tags 595875 + patch
thanks

Hi Andreas,

The attached patch works around the compiler/binutils issues on mipsen
by building libunistring with -mplt on mipsen (as indicated by Aurélien
in #519006).

I've tested the build on gabrielli.d.o.

Please apply and let's finally get 0.9.3 in Squeeze.

Thanks,

JB.

-- 
 Julien BLACHE <[email protected]>  |  Debian, because code matters more 
 Debian & GNU/Linux Developer        |       <http://www.debian.org>
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 

--- libunistring-0.9.3/debian/rules.orig	2010-09-07 22:17:51.760327032 +0200
+++ libunistring-0.9.3/debian/rules	2010-09-07 22:18:06.160327073 +0200
@@ -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)

Reply via email to