On 25.07.2013 05:05, Micah Gersten wrote: [...] > In Ubuntu, the attached patch was applied to achieve the following: > > * Drop -lm from rules file since LDFLAGS is the wrong place for this > - update debian/rules > * Add a patch to more properly fix the build system > - add debian/patches/fix-ld-no-add-needed.patch > - update debian/patches/series >
Hello Micah, thanks for the bug report. I have no objections against your patch but i would like to understand why adding -lm to LDFLAGS is the wrong place in this case here. Basically your patch and appending -lm to DEB_LDFLAGS_MAINT_APPEND in debian/rules do the same thing and I also pass -Wl, --as-needed to the build system. Do you ignore DEB_LDFLAGS_MAINT_APPEND at Ubuntu and why do you do that? Regards, Markus
signature.asc
Description: OpenPGP digital signature