From 094d82d3b3e8f8c8460a802b7a9548f3ae4fda46 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 29 Jan 2011 09:14:53 -0800 Subject: nptl/mips64: Fix build when using mips64 and ABIs other than o32 Signed-off-by: Khem Raj --- libc/sysdeps/linux/common/Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc/sysdeps') 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 -- cgit v1.2.3