summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-01-29 09:14:53 -0800
committerKhem Raj <raj.khem@gmail.com>2011-01-29 09:14:53 -0800
commit094d82d3b3e8f8c8460a802b7a9548f3ae4fda46 (patch)
treefcdd75ebf35a73b2f04e6c6643e5d8dea35ee118 /libc/sysdeps/linux/common
parent9657b26d293370032604891a361d944b8bf0b234 (diff)
nptl/mips64: Fix build when using mips64 and ABIs other than o32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/Makefile.in b/libc/sysdeps/linux/common/Makefile.in
index 8a4add813..cf4cf8708 100644
--- a/libc/sysdeps/linux/common/Makefile.in
+++ b/libc/sysdeps/linux/common/Makefile.in
@@ -44,6 +44,10 @@ ifeq ($(TARGET_ARCH),arm)
CSRC := $(filter-out vfork.c, $(CSRC))
else ifeq ($(TARGET_ARCH),x86_64)
CSRC := $(filter-out vfork.c, $(CSRC))
+else ifeq ($(TARGET_ARCH),mips)
+ifeq ($(CONFIG_MIPS_O32_ABI),y)
+CSRC := $(filter-out waitpid.c, $(CSRC))
+endif
else
CSRC := $(filter-out waitpid.c, $(CSRC))
endif