From: GNU Libc Maintainers Date: Wed, 31 Jan 2024 20:45:37 +0000 (+0100) Subject: git-tst-system X-Git-Tag: archive/raspbian/2.37-15_deb13u1+rpi1^2~65 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=78a7eb512ff710db5e919a6c469c58a2a9cfeeb6;p=glibc.git git-tst-system commit d03094649d39949a30513bf3ffb03a28fecbccd8 Author: Adam Yi Date: Wed Mar 8 03:11:47 2023 -0500 hurd: fix build of tst-system.c We made tst-system.c depend on pthread, but that requires linking with $(shared-thread-library). It does not fail under Linux because the variable expands to nothing under Linux, but it fails for Hurd. I tested verified via cross-compiling that "make check" now works for Hurd. Signed-off-by: Adam Yi Reviewed-by: Adhemerval Zanella Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name git-tst-system.diff --- diff --git a/stdlib/Makefile b/stdlib/Makefile index 005eede5d..15361ce65 100644 --- a/stdlib/Makefile +++ b/stdlib/Makefile @@ -277,6 +277,7 @@ LDLIBS-test-on_exit-race = $(shared-thread-library) LDLIBS-tst-canon-bz26341 = $(shared-thread-library) LDLIBS-tst-arc4random-fork = $(shared-thread-library) LDLIBS-tst-arc4random-thread = $(shared-thread-library) +LDLIBS-tst-system = $(shared-thread-library) LDLIBS-test-dlclose-exit-race = $(shared-thread-library) LDFLAGS-test-dlclose-exit-race = $(LDFLAGS-rdynamic)