Package: chicken
Version: 4.11.0-1
Followup-For: Bug #743065

Dear Maintainer,
This bug affects ia64 in 4.11.0-1 as well.  The problem is that the build 
system assums that LDFLAGS will always just
include "-Wl,..." and it is safe to directly append to it.  The attached patch 
remedies that.

-- System Information:
Debian Release: 7.11
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable')
Architecture: ia64

Kernel: Linux 3.2.0-4-mckinley (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- debian/rules	2016-12-14 17:41:18.000000000 -0500
+++ ../c.d.r	2017-11-14 11:45:18.366307669 -0500
@@ -35,7 +35,7 @@
 # placed by dpkg-buildpackage. If absolute files are specified,
 # i.e. /var/lib/chicken, then those files will be installed on the
 # build system, but will not end up in the package.
-	$(MAKE) PREFIX="$(CURDIR)/debian/tmp/usr" LINKER_LINK_SHARED_DLOADABLE_OPTIONS='-L. -shared $(LDFLAGS),-R"."' LINKER_LINK_SHARED_PROGRAM_OPTIONS='$(LDFLAGS),-R"."' LIBCHICKEN_SO_LINKER_OPTIONS='$(LDFLAGS),-soname,libchicken.so.8' VARDIR="$(CURDIR)/debian/tmp/var/lib" install
+	$(MAKE) PREFIX="$(CURDIR)/debian/tmp/usr" LINKER_LINK_SHARED_DLOADABLE_OPTIONS='-L. -shared $(LDFLAGS) -Wl,-R"."' LINKER_LINK_SHARED_PROGRAM_OPTIONS='$(LDFLAGS) -Wl,-R"."' LIBCHICKEN_SO_LINKER_OPTIONS='$(LDFLAGS) -Wl,-soname,libchicken.so.8' VARDIR="$(CURDIR)/debian/tmp/var/lib" install
 #	chrpath -d $(CURDIR)/debian/tmp/usr/bin/*
 	chrpath -d $(CURDIR)/debian/tmp/var/lib/chicken/8/*.so
 

Reply via email to