From: Adhemerval Zanella Date: Fri, 9 May 2025 13:19:37 +0000 (-0300) Subject: hurd: Fix tst-stack2 test build on Hurd X-Git-Tag: glibc-2.42~267 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f66cb3c9ebcac80b3200c3aff0e3aed6111547ba;p=thirdparty%2Fglibc.git hurd: Fix tst-stack2 test build on Hurd It requires $(shared-thread-library). Fixes 0c342594237. Checked on a i686-gnu build. --- diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile index 5acf505a90..de146dddeb 100644 --- a/sysdeps/pthread/Makefile +++ b/sysdeps/pthread/Makefile @@ -544,6 +544,7 @@ $(objpfx)tst-create1: $(shared-thread-library) $(objpfx)tst-create1.out: $(objpfx)tst-create1mod.so $(objpfx)tst-stack2.out: $(objpfx)tst-stack2-mod.so +$(objpfx)tst-stack2-mod.so: $(shared-thread-library) LDFLAGS-tst-stack2-mod.so = -Wl,-z,execstack ifeq ($(have-no-error-execstack),yes) LDFLAGS-tst-stack2-mod.so += -Wl,--no-error-execstack