summaryrefslogtreecommitdiff
path: root/libc/error/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/error/Makefile')
-rw-r--r--libc/error/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/libc/error/Makefile b/libc/error/Makefile
index 01a488f..f604c3b 100644
--- a/libc/error/Makefile
+++ b/libc/error/Makefile
@@ -4,14 +4,16 @@
CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
-ifeq ($(PLATFORM),i86-FAST)
-OBJ=error.o sys_errlist.o perror.o sys_siglist.o __assert.o
-else
ifeq ($(LIB_OS),ELKS)
+
+ifneq ($(LIB_CPU),i86)
OBJ=error2.o perror.o sys_siglist.o __assert.o
else
-OBJ=__assert.o
+OBJ=error.o sys_errlist.o perror.o sys_siglist.o __assert.o
endif
+
+else
+OBJ=__assert.o
endif
all: $(LIBC)($(OBJ))