This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Remove NOT_IN_libc definition for pthread_atfork


pthread_atfork is already built in an extra-libs context, which gives
it NOT_IN_libc in its CPPFLAGS.  Adding the same definition to CFLAGS
is pointless.

Verified that the code is unchanged on x86_64.

	 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.

---
 nptl/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/nptl/Makefile b/nptl/Makefile
index 7fbf7db..ba555c9 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -139,8 +139,6 @@ libpthread-routines = nptl-init vars events version \
 libpthread-shared-only-routines = version pt-allocrtsig unwind-forcedunwind
 libpthread-static-only-routines = pthread_atfork
 
-CFLAGS-pthread_atfork.c = -DNOT_IN_libc
-
 # Since cancellation handling is in large parts handled using exceptions
 # we have to compile some files with exception handling enabled, some
 # even with asynchronous unwind tables.
-- 
1.9.3

Attachment: pgp2WGlTsyCMT.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]