From 517846c85dfc48aa231e28e95e8f90a6d8a8efde Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 12 Mar 2025 11:29:10 +0100 Subject: Makefile: Clean up pthread_atfork integration Do not add the pthread_atfork routine again in nptl/Makefile, instead rely on sysdeps/pthread/Makefile for the integration (as this is the directory that contains the source file). In sysdeps/pthread/Makefile, add to static-only-routines. Reviewed-by: Joseph Myers --- sysdeps/pthread/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile index 5947db4..70e62b2 100644 --- a/sysdeps/pthread/Makefile +++ b/sysdeps/pthread/Makefile @@ -304,7 +304,7 @@ tests-time64 += \ tst-thrd-sleep-time64 \ # tests-time64 -static-only-routines = pthread_atfork +static-only-routines += pthread_atfork # Files which must not be linked with libpthread. tests-nolibpthread += \ -- cgit v1.1