[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#490881: give back (on alpha only) and unblock jfsutils



On Thu, Jul 31, 2008 at 22:32:01 +0200, Stefan Hornburg (Racke) wrote:

> Steve Langasek wrote:
>> This is a toolchain issue on alpha; Please link using -Wl,--no-relax.
>>
>> debian-alpha@lists.debian.org is a better place to ask for help than the
>> buildd contact address.
>>
>
> jfsutils didn't build on alpha. Can you please advise how do I need to
> change debian/rules to use this linking parameters?
>
The untested patch below should do the trick…

diff -Nru jfsutils-1.1.12.orig/debian/rules jfsutils-1.1.12/debian/rules
--- jfsutils-1.1.12.orig/debian/rules	2008-08-01 14:15:48.000000000 +0200
+++ jfsutils-1.1.12/debian/rules	2008-08-01 14:19:57.000000000 +0200
@@ -21,5 +21,9 @@
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/utils.mk
 
+ifeq ($(DEB_BUILD_ARCH),alpha)
+	LDFLAGS += -Wl,--no-relax
+endif
+
 DEB_CONFIGURE_USER_FLAGS := --sbindir=/sbin
 DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/tmp

Cheers,
Julien


Reply to: