Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From 90516af9f776f9c2835b47fc52775dcb307a85ac Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 23 Jun 2012 15:59:01 -0700 |
| 4 | Subject: [PATCH 7/7] nptl/atfork: Hide pthread_atfork in shared versions |
| 5 | |
| 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 7 | Upstream-Status: Pending |
| 8 | --- |
| 9 | libpthread/nptl/Makefile.in | 3 ++- |
| 10 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 11 | |
| 12 | diff --git a/libpthread/nptl/Makefile.in b/libpthread/nptl/Makefile.in |
| 13 | index 55eeba2..8cb8fa9 100644 |
| 14 | --- a/libpthread/nptl/Makefile.in |
| 15 | +++ b/libpthread/nptl/Makefile.in |
| 16 | @@ -16,6 +16,7 @@ libc-shared-routines-y = forward.c libc-cancellation.c |
| 17 | libc-static-routines-y = alloca_cutoff.c libc-cancellation.c |
| 18 | libpthread-shared-only-routines-y = version.c |
| 19 | libpthread-static-only-routines-y = pthread_atfork.c |
| 20 | + |
| 21 | libpthread-routines- += $(notdir $(wildcard $(libpthread_DIR)/gen_*.c)) # dummy generated files |
| 22 | libpthread-routines- += allocatestack.c # dummy included by pthread_create.c |
| 23 | libpthread-routines- += pthread_mutex_getprioceiling.c pthread_mutex_setprioceiling.c # XXX: delete those or use them! |
| 24 | @@ -201,7 +202,7 @@ CFLAGS-msgsnd.c = -fexceptions -fasynchronous-unwind-tables |
| 25 | CFLAGS-tcdrain.c = -fexceptions -fasynchronous-unwind-tables |
| 26 | |
| 27 | CFLAGS-pt-system.c = -fexceptions -I$(top_srcdir)libc/stdlib |
| 28 | - |
| 29 | +CFLAGS-pthread_atfork.c = -DNOT_IN_libc |
| 30 | # |
| 31 | # The rest of this file is uClibc specific. |
| 32 | # |
| 33 | -- |
| 34 | 2.1.4 |
| 35 | |