Fix librt-routines-var issues for !PTHREAD_IN_LIBC

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>
This commit is contained in:
Florian Weimer 2021-06-21 08:25:15 +02:00
parent f6b6e14869
commit a2014d311b
2 changed files with 2 additions and 2 deletions

View File

@ -1344,7 +1344,7 @@ libpthread-routines-var = routines
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.

View File

@ -57,7 +57,7 @@ librt-routines = \
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 \