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.
This commit is contained in:
Siddhesh Poyarekar 2014-08-21 10:30:55 +05:30
parent 318c7a5846
commit dd763fdb1e
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View 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.