GNU Core Utilities - Patches: patch #4994, Include -lm in uptime link line...
You are not allowed to post comments on this tracker with your current authentication level.
patch #4994: Include -lm in uptime link line when needed
Submitter: | None | ||
Submitted: | Mon 27 Mar 2006 07:21:31 AM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Email: | -email is unavailable- |
Open/Closed: | Open |
Attached Files
file #9688: coreutils-am-patch added by None (396B - text/plain)
Depends on the following items: None found
Items that depend on this one: None found
CC list is empty
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2006-03-27 | None | Attached File | - | Added coreutils-am-patch, #6074 | |
Carbon-Copy | - | Added nickolai --AT-- cs --DOT-- stanford --DOT-- edu |
Powered by Savane 3.13-3230.
Corresponding source code
In particular this matters when doing a cross-build.
--- coreutils-5.94/src/Makefile.am 2006/03/27 05:08:50 1.1
+++ coreutils-5.94/src/Makefile.am 2006/03/27 06:48:31
@@ -88,7 +88,8 @@
sleep_LDADD = $(nanosec_libs)
tail_LDADD = $(nanosec_libs)
-uptime_LDADD = $(LDADD) $(GETLOADAVG_LIBS)
+# If necessary, add -lm to resolve use of pow in lib/strtod.c.
+uptime_LDADD = $(LDADD) $(POW_LIB) $(GETLOADAVG_LIBS)
su_LDADD = $(LDADD) $(LIB_CRYPT)