bug-coreutils
[Top][All Lists]
Advanced

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

[patch #4994] Include -lm in uptime link line when needed


From: anonymous
Subject: [patch #4994] Include -lm in uptime link line when needed
Date: Mon, 27 Mar 2006 07:21:32 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)

URL:
  <http://savannah.gnu.org/patch/?func=detailitem&item_id=4994>

                 Summary: Include -lm in uptime link line when needed
                 Project: GNU Core Utilities
            Submitted by: None
            Submitted on: Mon 03/27/06 at 07:21
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open

    _______________________________________________________

Details:

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)





    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
nickolai --AT-- cs --DOT-- stanford --DOT-- edu | Originator Email



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 03/27/06 at 07:21  Name: coreutils-am-patch  Size: 396B   By: None

<http://savannah.gnu.org/patch/download.php?item_id=4994&item_file_id=6074>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?func=detailitem&item_id=4994>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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