]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix librt-routines-var issues for !PTHREAD_IN_LIBC
authorFlorian Weimer <fweimer@redhat.com>
Mon, 21 Jun 2021 06:25:15 +0000 (08:25 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 21 Jun 2021 06:25:15 +0000 (08:25 +0200)
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>
Makeconfig
rt/Makefile

index 6482a43025019f20ce0a82593a6174d16a93c6c8..407df9e6a1cc106d814afe8b06bae0cf54a75a5d 100644 (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.
index b0d887202d8e0e2bff6a6e3fd8dc99c220f4b936..47bc594deee250debca2ee88808eeb3f2eebbec9 100644 (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 \