From f66cb3c9ebcac80b3200c3aff0e3aed6111547ba Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 9 May 2025 10:19:37 -0300 Subject: [PATCH] hurd: Fix tst-stack2 test build on Hurd It requires $(shared-thread-library). Fixes 0c342594237. Checked on a i686-gnu build. --- sysdeps/pthread/Makefile | 1 + 1 file changed, 1 insertion(+) 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