summaryrefslogtreecommitdiff
path: root/libc/stdlib
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/stdlib
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/stdlib')
-rw-r--r--libc/stdlib/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/stdlib/Makefile b/libc/stdlib/Makefile
index e4b28979c..5d7c9405a 100644
--- a/libc/stdlib/Makefile
+++ b/libc/stdlib/Makefile
@@ -36,8 +36,11 @@ MSRC2=atexit.c
MOBJ2=on_exit.o atexit.o __do_exit.o exit.o
-CSRC = abort.c getenv.c mktemp.c qsort.c realpath.c strtod.c \
- abs.c bsearch.c mkstemp.c putenv.c rand.c setenv.c system.c
+CSRC = abort.c getenv.c mktemp.c qsort.c realpath.c abs.c bsearch.c \
+ mkstemp.c putenv.c rand.c setenv.c system.c
+ifeq ($(HAS_FLOATS),true)
+ CSRC += strtod.c
+endif
COBJS=$(patsubst %.c,%.o, $(CSRC))