From ae030fbef45996424def8c4b0bb5cb1c26b5bd9d Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Wed, 16 Dec 2009 02:52:30 -0800 Subject: fix multiple definitions of pthread_once for x86_64 also add a missing weak for clone Signed-off-by: Austin Foxley --- libpthread/nptl/sysdeps/pthread/Makefile.in | 4 ---- 1 file changed, 4 deletions(-) (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 45240152c..9295884ff 100644 --- a/libpthread/nptl/sysdeps/pthread/Makefile.in +++ b/libpthread/nptl/sysdeps/pthread/Makefile.in @@ -43,10 +43,6 @@ SH_PTHREAD_EXCLUDE_LIST = pthread_spin_unlock.c pthread_spin_init.c \ libpthread_CSRC := $(filter-out $(SH_PTHREAD_EXCLUDE_LIST),$(libpthread_CSRC)) endif -ifeq ($(TARGET_ARCH),x86_64) -libpthread_CSRC += pthread_once.c -endif - CFLAGS-pt-common = -DNOT_IN_libc=1 $(SSP_ALL_CFLAGS) -- cgit v1.2.3