From 44f3864ffcf205930a0cf7e553ab91f2cb01d02d Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Wed, 17 Feb 2010 16:52:15 -0800 Subject: move pthread_barrier_{init,destroy} to sysdeps/pthread for archs that implement their own like sparc and x86_64 Signed-off-by: Austin Foxley --- libpthread/nptl/sysdeps/pthread/Makefile.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libpthread/nptl/sysdeps/pthread/Makefile.in') diff --git a/libpthread/nptl/sysdeps/pthread/Makefile.in b/libpthread/nptl/sysdeps/pthread/Makefile.in index 303b04f3f..e417e6ce6 100644 --- a/libpthread/nptl/sysdeps/pthread/Makefile.in +++ b/libpthread/nptl/sysdeps/pthread/Makefile.in @@ -10,7 +10,8 @@ # pt-longjmp.c in libc and libpthread. For uClibc, they are # in libc only. # -libpthread_CSRC = pthread_barrier_wait.c pthread_cond_broadcast.c \ +libpthread_CSRC = pthread_barrier_init.c pthread_barrier_destroy.c \ + pthread_barrier_wait.c pthread_cond_broadcast.c \ pthread_cond_signal.c pthread_cond_timedwait.c \ pthread_cond_wait.c pthread_rwlock_rdlock.c \ pthread_rwlock_timedrdlock.c \ @@ -63,6 +64,8 @@ endif CFLAGS-pt-common = -DNOT_IN_libc=1 $(SSP_ALL_CFLAGS) +CFLAGS-pthread_barrier_init.c = $(CFLAGS-pt-common) -DIS_IN_libpthread=1 +CFLAGS-pthread_barrier_destroy.c = $(CFLAGS-pt-common) -DIS_IN_libpthread=1 CFLAGS-pthread_barrier_wait.c = -D_GNU_SOURCE $(CFLAGS-pt-common) \ -DIS_IN_libpthread=1 CFLAGS-pthread_cond_broadcast.c = $(CFLAGS-pt-common) -DIS_IN_libpthread=1 -- cgit v1.2.3