From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 818AC385142A; Wed, 8 Mar 2023 13:09:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 818AC385142A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678280987; bh=sJs4//m/8gLevdnoQknerKbzoeIj9ib5BM+YG9ahMyY=; h=From:To:Subject:Date:From; b=Alj07sjXtEBebutUD/OkEx3qePPJgZdkiGEn+5s7mWimkIVOMSRlBsk2MS1tTKLDH SGLojKZni+dd/+ML3oO68WhWpgUmclGq9vW1Gl3oBvdtaPWwIcGRujGGOVkzjBwhvu 94FNlcgzzqdeRIAwIhZavXnzi9DVoJNv0plEfG8k= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc] hurd: fix build of tst-system.c X-Act-Checkin: glibc X-Git-Author: Adam Yi X-Git-Refname: refs/heads/master X-Git-Oldrev: 4c721f24fc190d1dc935eb0bab283de7cf13182e X-Git-Newrev: d03094649d39949a30513bf3ffb03a28fecbccd8 Message-Id: <20230308130947.818AC385142A@sourceware.org> Date: Wed, 8 Mar 2023 13:09:47 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d03094649d39949a30513bf3ffb03a28fecbccd8 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 Diff: --- stdlib/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/Makefile b/stdlib/Makefile index cd32f53b56..5e38f0e6a2 100644 --- a/stdlib/Makefile +++ b/stdlib/Makefile @@ -281,6 +281,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)