bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fesetround, -lm and a non-existant nanosec.c


From: Jeff Bailey
Subject: fesetround, -lm and a non-existant nanosec.c
Date: Wed, 13 Jul 2005 09:04:40 -0400

The Makefile include the following comment:

# If necessary, add -lm to resolve the `pow' reference in lib/strtod.c
# or for the fesetround reference in programs using nanosec.c.

But the ChangeLog doesn't mention any reference to nanosec.c, nor is
there any reference to fesetround in coreutils, so I'm guessing it's
pre-merger cruft.  This removes a spurious link to -lm on tail and
sleep.

2005-07-13  Jeff Bailey  <address@hidden>

        * src/Makefile.am: Prune unnecessary use of $(FESETROUND_LIBM)
          in nanosec_libs.


Index: Makefile.am
===================================================================
RCS file: /cvsroot/coreutils/coreutils/src/Makefile.am,v
retrieving revision 1.56
diff -u -p -r1.56 Makefile.am
--- Makefile.am 18 May 2005 19:32:11 -0000      1.56
+++ Makefile.am 13 Jul 2005 13:02:50 -0000
@@ -82,9 +82,8 @@ printf_LDADD = $(LDADD) $(POW_LIB) $(LIB
 seq_LDADD = $(LDADD) $(SEQ_LIBM)

 # If necessary, add -lm to resolve the `pow' reference in lib/strtod.c
-# or for the fesetround reference in programs using nanosec.c.
 nanosec_libs = \
-  $(LDADD) $(FESETROUND_LIBM) $(POW_LIB) $(LIB_NANOSLEEP)
+  $(LDADD) $(POW_LIB) $(LIB_NANOSLEEP)

 sleep_LDADD = $(nanosec_libs)
 tail_LDADD = $(nanosec_libs)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]