summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/Makefile.inc
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2011-10-21 06:40:36 +0000
committerdas <das@FreeBSD.org>2011-10-21 06:40:36 +0000
commit9373f7b9c4f30f6577adcbbba17be55d53f114b6 (patch)
treec48465604c7967f5162a2c5f32ab24721a37e96c /lib/libc/gen/Makefile.inc
parent35a6cd64927e8d5f815012b9b8ac9e5efed5aa9a (diff)
downloadFreeBSD-src-9373f7b9c4f30f6577adcbbba17be55d53f114b6.zip
FreeBSD-src-9373f7b9c4f30f6577adcbbba17be55d53f114b6.tar.gz
Replace a proliferation of buggy MD implementations of modf() with a
working MI one. The MI one only needs to be overridden on machines with non-IEEE754 arithmetic. (The last supported one was the VAX.) It can also be overridden if someone comes up with a faster one that actually passes the regression tests -- but this is harder than it sounds.
Diffstat (limited to 'lib/libc/gen/Makefile.inc')
-rw-r--r--lib/libc/gen/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc
index d55bc46..d3ccf0a 100644
--- a/lib/libc/gen/Makefile.inc
+++ b/lib/libc/gen/Makefile.inc
@@ -35,6 +35,8 @@ SRCS+= __getosreldate.c __xuname.c \
usleep.c utime.c utxdb.c valloc.c vis.c wait.c wait3.c waitpid.c \
wordexp.c
+MISRCS+=modf.c
+
CANCELPOINTS_SRCS=sem.c sem_new.c
.for src in ${CANCELPOINTS_SRCS}
SRCS+=cancelpoints_${src}
OpenPOWER on IntegriCloud