summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-08-21 10:30:55 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-08-21 10:30:55 +0530
commitdd763fdb1e24cbeacb8f761851e6b74183806f83 (patch)
treeec441169af63bc847ecf84bd27e943d2cf893971
parent318c7a5846bbfaab567c92b37941000dfc0c00c0 (diff)
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.
-rw-r--r--ChangeLog2
-rw-r--r--nptl/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 533517a606..4d2eb52dfd 100644
--- 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.
diff --git a/nptl/Makefile b/nptl/Makefile
index ab3080e5bb..157fe62e02 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.