public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Link tst-clock_gettime with $(librt)
@ 2024-10-31 17:44 Joseph Myers
  0 siblings, 0 replies; only message in thread
From: Joseph Myers @ 2024-10-31 17:44 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9c0903fb7388f645d23b26160ed3669a116189fe

commit 9c0903fb7388f645d23b26160ed3669a116189fe
Author: Joseph Myers <josmyers@redhat.com>
Date:   Thu Oct 31 17:43:52 2024 +0000

    Link tst-clock_gettime with $(librt)
    
    This is needed to avoid link failures for the timer_* functions on
    Hurd.
    
    Tested with build-many-glibcs.py for i686-gnu.

Diff:
---
 time/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/time/Makefile b/time/Makefile
index de22692683..4bfb208110 100644
--- a/time/Makefile
+++ b/time/Makefile
@@ -127,6 +127,8 @@ $(objpfx)tst-strftime2.out: $(gen-locales)
 $(objpfx)tst-strftime3.out: $(gen-locales)
 endif
 
+$(objpfx)tst-clock_gettime: $(librt)
+$(objpfx)tst-clock_gettime-time64: $(librt)
 $(objpfx)tst-clock_nanosleep: $(librt)
 $(objpfx)tst-clock_nanosleep-time64: $(librt)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-10-31 17:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-31 17:44 [glibc] Link tst-clock_gettime with $(librt) Joseph Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).