From 9c0903fb7388f645d23b26160ed3669a116189fe Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 31 Oct 2024 17:43:52 +0000 Subject: [PATCH] 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. --- 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) -- 2.43.5