On 12/16/2011 2:49 AM, OBATA Akio wrote:
Please let not to add -lm unconditionally.It probably depend on whether libzinnia is linked against with -lm or not.On Fri, 16 Dec 2011 03:54:55 +0900, John Marino <marino%netbsd.org@localhost> wrote:Module Name: pkgsrc Committed By: marino Date: Thu Dec 15 18:54:55 UTC 2011 Modified Files: pkgsrc/inputmethod/ibus-handwrite: Makefile Log Message:inputmethod/ibus-handwrite: Directly link libraries as required for ld v2.22To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 pkgsrc/inputmethod/ibus-handwrite/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Does it matter if libzinnia is linked with -lm or not? The linker will just ignore it if there are no used math symbols, right? So the summary is with -lm it works in all cases and without -lm, it's broken on dragonfly-master. If that
is indeed true, then uncondition -lm linking is the correct thing.What can't happen is to do nothing. It became a broken package after the latest
binutils upgrade. John