Package: inkscape
Version: 0.46-6
Severity: serious
User: debian-al...@lists.debian.org
Tags: patch

Hi,

The linker defaults to "relax" option, which causes the GPREL16 relocation
errors. A quick workaround is to add -Wl,--no-relax to LDFLAGS.


--- inkscape-0.46/debian/rules  2009-03-29 22:29:23.000000000 +0000
+++ inkscape-0.46/debian/rules  2009-03-29 22:29:34.000000000 +0000
@@ -31,6 +31,7 @@
 ifneq (,$(findstring $(DEB_HOST_ARCH),alpha))
   ALPHA_CXXFLAGS=-mieee
   ALPHA_CFLAGS=-mieee
+  ALPHA_LDFLAGS=-Wl,--no-relax
 endif
 
 config.status: configure patch
@@ -38,6 +39,7 @@
 
        CXXFLAGS="$(CXXFLAGS) $(MIPS_CXXFLAGS) $(ALPHA_CXXFLAGS)" \
        CFLAGS="$(CFLAGS) $(MIPS_CFLAGS) $(ALPHA_CFLAGS)"         \
+       LDFLAGS="$(LDFLAGS) $(ALPHA_LDFLAGS)"                     \
        ./configure --host=$(DEB_HOST_GNU_TYPE)                   \
                    --build=$(DEB_BUILD_GNU_TYPE)                 \
                    --prefix=/usr                                 \



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to