diff options
author | Florian Weimer <fweimer@redhat.com> | 2025-03-12 11:29:10 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2025-03-12 12:37:11 +0100 |
commit | 517846c85dfc48aa231e28e95e8f90a6d8a8efde (patch) | |
tree | e36daf64c377e9a11d0e994f8f7c73f9cc67fe8f | |
parent | 6e30efe570f1ba135747c6d8f4004e78cd24c49c (diff) | |
download | glibc-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>
-rw-r--r-- | nptl/Makefile | 2 | ||||
-rw-r--r-- | sysdeps/pthread/Makefile | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index eca0093..e6481d5 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -63,7 +63,6 @@ routines = \ old_pthread_cond_signal \ old_pthread_cond_timedwait \ old_pthread_cond_wait \ - pthread_atfork \ pthread_attr_copy \ pthread_attr_destroy \ pthread_attr_extension \ @@ -211,7 +210,6 @@ routines = \ vars \ # routines -static-only-routines = pthread_atfork libpthread-routines = libpthread-compat libpthread-shared-only-routines = libpthread-compat 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 += \ |