]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove NOT_IN_libc definition for pthread_atfork
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 21 Aug 2014 05:00:55 +0000 (10:30 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 21 Aug 2014 05:00:55 +0000 (10:30 +0530)
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.

ChangeLog
nptl/Makefile

index 533517a606a8cceebff00a722ec98dd4f93fbbae..4d2eb52dfd43d0b5959badf120a9b4d0f887c024 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
+       * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
+
        * catgets/Makefile (CPPFLAGS-gencat): Remove.
        * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
        (CPPFLAGS-iconvconfig): Likewise.
index ab3080e5bb3d55aba794d41a34fb0b42a6f02f66..157fe62e02fb6a4db4df84fa95127e84067e09f1 100644 (file)
@@ -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.