summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-05-14 04:19:43 +0000
committerErik Andersen <andersen@codepoet.org>2000-05-14 04:19:43 +0000
commite9efa23ae121c8976e5dc2bbcf29e029b5087e76 (patch)
tree55c9bdfec6626bdcb4fa81548a6177b28d8ee223 /libc/misc
parent64bc6412188b141c010ac3b8e813b837dd991e80 (diff)
Patch from "D. Jeff Dionne / VE3DJF" <jeff@rt-control.com>
to allow uC-libc to compile under x86. -Erik
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/time/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/misc/time/Makefile b/libc/misc/time/Makefile
index ab47a7e47..e68ee5dc7 100644
--- a/libc/misc/time/Makefile
+++ b/libc/misc/time/Makefile
@@ -4,11 +4,11 @@
LIBC=../libc.a
-CC=m68k-pic-coff-gcc
-AR=m68k-pic-coff-ar
-RANLIB=m68k-pic-coff-ranlib
+CC=$(CROSS)gcc
+AR=$(CROSS)ar
+RANLIB=$(CROSS)ranlib
-CCFLAGS= -O2 -m68000 -msoft-float -I../include
+CCFLAGS= -O2 $(CPUFLAGS) -I../include
OBJ=localtime.o gmtime.o asctime.o ctime.o asc_conv.o tm_conv.o mktime.o \
localtime_r.o gmtime_r.o asctime_r.o ctime_r.o