The variable name was incorrect, and the existing librt-routines
variable needs to be augmented (not assigned) in rt/Makefile.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
librt-routines-var = routines
else
libpthread-routines-var = libpthread-routines
-librt-routines-var = libpthread-routines
+librt-routines-var = librt-routines
endif
# A sysdeps Makeconfig fragment may set libc-reentrant to yes.
timer_gettime \
timer_settime \
-$(librt-routines-var) = \
+$(librt-routines-var) += \
tests := tst-shm tst-timer tst-timer2 \
tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6 \