summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/Makefile.in
diff options
context:
space:
mode:
authorKevin Cernekee <cernekee@gmail.com>2011-02-10 14:30:55 -0800
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-02-11 19:29:27 +0100
commit32814a2b15829df3a144391f5b8bd46e755f85f5 (patch)
treecab4c44c89ebe8155b3005ca6749a032ec7a608d /libc/sysdeps/linux/common/Makefile.in
parentda2d70ed69b57d63243a7b1e05ac7d43e91778ab (diff)
Fix GNU make v3.80 compatibility
Commits 1f6601a and 094d82d introduced the "else ifeq" construct, which requires GNU make v3.81 or higher. This breaks the build on RHEL4 hosts. Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/Makefile.in')
-rw-r--r--libc/sysdeps/linux/common/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/Makefile.in b/libc/sysdeps/linux/common/Makefile.in
index cf4cf8708..bd45d941b 100644
--- a/libc/sysdeps/linux/common/Makefile.in
+++ b/libc/sysdeps/linux/common/Makefile.in
@@ -42,9 +42,11 @@ ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y)
CSRC := $(filter-out fork.c getpid.c raise.c open.c close.c read.c write.c, $(CSRC))
ifeq ($(TARGET_ARCH),arm)
CSRC := $(filter-out vfork.c, $(CSRC))
-else ifeq ($(TARGET_ARCH),x86_64)
+else
+ifeq ($(TARGET_ARCH),x86_64)
CSRC := $(filter-out vfork.c, $(CSRC))
-else ifeq ($(TARGET_ARCH),mips)
+else
+ifeq ($(TARGET_ARCH),mips)
ifeq ($(CONFIG_MIPS_O32_ABI),y)
CSRC := $(filter-out waitpid.c, $(CSRC))
endif
@@ -52,6 +54,8 @@ else
CSRC := $(filter-out waitpid.c, $(CSRC))
endif
endif
+endif
+endif
ifneq ($(ARCH_USE_MMU),y)
# stubbed out in mman.h