summaryrefslogtreecommitdiff
path: root/libc/misc/time/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-02 23:50:51 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-02 23:50:51 +0000
commit39d74aae955e53852e4dbfbcd634c61cb8f31747 (patch)
tree78f89c5aa461aa348efb0c207f93087b045937ad /libc/misc/time/Makefile
parent6264eafa58e25b3b67c80b51b8ddc17bc50e2213 (diff)
Patch from James Graves <jgraves@deltamobile.com> to get
m68k started. Should be just sysdeps/linux/m68k left to hack at this point...
Diffstat (limited to 'libc/misc/time/Makefile')
-rw-r--r--libc/misc/time/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/misc/time/Makefile b/libc/misc/time/Makefile
index dc27f1cbe..406738ce8 100644
--- a/libc/misc/time/Makefile
+++ b/libc/misc/time/Makefile
@@ -27,6 +27,12 @@ LIBC=$(TOPDIR)libc.a
CSRC=localtime.c gmtime.c asctime.c ctime.c asc_conv.c tm_conv.c mktime.c \
localtime_r.c gmtime_r.c asctime_r.c ctime_r.c utimes.c adjtime.c \
strftime.c clock.c times.c difftime.c
+
+# strftime.c causes an internal compiler error with m68k-pic-coff-gcc.
+ifneq ($(TARGET_ARCH),m68k)
+ CSRC += strftime.c
+endif
+
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(COBJS)