Package: libgmpada
Version: 0.0.20121109-1
Severity: wishlist
Tags: patch

libgmpada fails to build with ld --as-needed
this flag requires libraries to be placed after objects needing
their symbols.
See the buildlog in ubuntu:
https://launchpadlibrarian.net/133482239/buildlog_ubuntu-raring-amd64.libgmpada_0.0.20121109-1_FAILEDTOBUILD.txt.gz

I did not find a way to get the buildsystem to order the flags
correctly, (Linker.Linker_Options is rejected for libraries ..)
So the best i could come up with is disabling as-needed in debian/rules:

--- libgmpada-0.0.20121109/debian/rules
+++ libgmpada-0.0.20121109/debian/rules
@@ -29,9 +29,9 @@
 # Set some variables #
 ######################

+DEB_LDFLAGS_MAINT_PREPEND = -Wl,--no-as-needed
 include /usr/share/dpkg/default.mk
 include /usr/share/ada/debian_packaging.mk


-- 
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