diff mbox series

[committed] Link tst-clock_gettime with $(librt)

Message ID 73661f02-3b02-fe0f-4a1a-001481af2e05@redhat.com
State New
Headers show
Series [committed] Link tst-clock_gettime with $(librt) | expand

Commit Message

Joseph Myers Oct. 31, 2024, 5:44 p.m. UTC
This is needed to avoid link failures for the timer_* functions on
Hurd.

Tested with build-many-glibcs.py for i686-gnu.

---

Committed.
diff mbox series

Patch

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)