From 1f6601af6749d593c856db67c260293b8209063c Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Wed, 16 Dec 2009 02:29:42 -0800 Subject: x86_64: no waitpid syscall exists, so use wait4 Signed-off-by: Austin Foxley --- libc/sysdeps/linux/common/Makefile.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps/linux') diff --git a/libc/sysdeps/linux/common/Makefile.in b/libc/sysdeps/linux/common/Makefile.in index 64c2432f5..45c70baf6 100644 --- a/libc/sysdeps/linux/common/Makefile.in +++ b/libc/sysdeps/linux/common/Makefile.in @@ -36,10 +36,12 @@ endif ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y) CSRC := $(filter-out fork.c getpid.c raise.c open.c close.c read.c write.c, $(CSRC)) -ifneq ($(TARGET_ARCH),arm) -CSRC := $(filter-out waitpid.c, $(CSRC)) -else +ifeq ($(TARGET_ARCH),arm) CSRC := $(filter-out vfork.c, $(CSRC)) +else ifeq ($(TARGET_ARCH),x86_64) +#do nothing +else +CSRC := $(filter-out waitpid.c, $(CSRC)) endif endif -- cgit v1.2.3