diff options
author | Austin Foxley <austinf@cetoncorp.com> | 2009-12-16 02:29:42 -0800 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-12-16 02:29:42 -0800 |
commit | 1f6601af6749d593c856db67c260293b8209063c (patch) | |
tree | 0e7573fad6ac735477454a66b0aee4b8f03e9361 /libc/sysdeps/linux/common | |
parent | f0a5fcde1d6eac5b1994e70410b09eab6bd99057 (diff) |
x86_64: no waitpid syscall exists, so use wait4
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r-- | libc/sysdeps/linux/common/Makefile.in | 8 |
1 files changed, 5 insertions, 3 deletions
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 |