[PATCH] CONFIG_SORT_BIG requires libm
Amir Shalem
amir at boom.org.il
Tue Sep 6 08:32:07 UTC 2005
hey,
CONFIG_SORT_BIG requires -lm
because -g option requires isnan() and isinf()
--
Amir.
-------------- next part --------------
Index: coreutils/Makefile.in
===================================================================
--- coreutils/Makefile.in (revision 11343)
+++ coreutils/Makefile.in (working copy)
@@ -95,6 +95,13 @@
libraries-y+=$(COREUTILS_DIR)$(COREUTILS_AR)
+needm-y:=
+needm-$(CONFIG_SORT_BIG) := y
+
+ifeq ($(needm-y),y)
+ LIBRARIES += -lm
+endif
+
$(COREUTILS_DIR)$(COREUTILS_AR): $(patsubst %,$(COREUTILS_DIR)%, $(COREUTILS-y))
$(AR) $(ARFLAGS) $@ $(patsubst %,$(COREUTILS_DIR)%, $(COREUTILS-y))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20050906/68a6c94d/attachment-0002.pgp
More information about the busybox
mailing list