OSDN Git Service

nptl/mips64: Fix build when using mips64 and ABIs other than o32
[uclinux-h8/uClibc.git] / libpthread / nptl / sysdeps / unix / sysv / linux / mips / Makefile.arch
index 84fe17e..fc26a8e 100644 (file)
@@ -10,7 +10,9 @@ libpthread_linux_arch_CSRC = pthread_once.c pt-__syscall_rt_sigaction.c
 
 libc_linux_arch_CSRC = fork.c
 libc_linux_arch_SSRC = clone.S vfork.S
-
+ifneq ($(CONFIG_MIPS_O32_ABI),y)
+libc_linux_arch_SSRC-OMIT = waitpid.S
+endif
 ASFLAGS += -DUSE___THREAD
 
 CFLAGS-OMIT-fork.c = -DNOT_IN_libc -DIS_IN_libpthread