aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2025-03-12 11:29:10 +0100
committerFlorian Weimer <fweimer@redhat.com>2025-03-12 12:37:11 +0100
commit517846c85dfc48aa231e28e95e8f90a6d8a8efde (patch)
treee36daf64c377e9a11d0e994f8f7c73f9cc67fe8f /sysdeps
parent6e30efe570f1ba135747c6d8f4004e78cd24c49c (diff)
downloadglibc-517846c85dfc48aa231e28e95e8f90a6d8a8efde.zip
glibc-517846c85dfc48aa231e28e95e8f90a6d8a8efde.tar.gz
glibc-517846c85dfc48aa231e28e95e8f90a6d8a8efde.tar.bz2
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 <josmyers@redhat.com>
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/pthread/Makefile2
1 files changed, 1 insertions, 1 deletions
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 += \