Displaying 1 result from an estimated 1 matches for "naubr".
Did you mean:
nabr
2014 Oct 20
1
[PATCH] missing -lm in drivers/Makefile
...l,
I couldn't cross-compile NUT for uClibc x86_64 with shared libm, but the problem may show up with any other target as well.
ldexp() requires "-lm" and most toolchains are happy without it, but picky ones aren't.
This is a trivial patch to keep all linkers happy.
Regards,
diff -Naubr nut-2.7.2.old/drivers/Makefile.am nut-2.7.2.new/drivers/Makefile.am
--- nut-2.7.2.old/drivers/Makefile.am 2014-02-27 22:17:32.000000000 +0100
+++ nut-2.7.2.new/drivers/Makefile.am 2014-10-20 15:50:31.000000000 +0200
@@ -171,7 +171,7 @@
tripplite_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS) -lm
b...