public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/release/2.37/master] hurd: fix build of tst-system.c
@ 2024-05-02 17:30 Florian Weimer
0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2024-05-02 17:30 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f4de99ea83794152296c5448c5cd00e3becb92bb
commit f4de99ea83794152296c5448c5cd00e3becb92bb
Author: Adam Yi <ayi@janestreet.com>
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 <ayi@janestreet.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit d03094649d39949a30513bf3ffb03a28fecbccd8)
Diff:
---
stdlib/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/stdlib/Makefile b/stdlib/Makefile
index 005eede5d9..15361ce650 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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-05-02 17:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-02 17:30 [glibc/release/2.37/master] hurd: fix build of tst-system.c Florian Weimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).