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.
>>
>> [EMAIL PROTECTED] 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



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to