MIPS NPTL patches
Dan E
trg_info at mailhaven.com
Thu Apr 9 05:21:59 UTC 2009
This is the third patch. It moves inclusion of mktemp.c outside of the dependency
on UCLIBC_HAS_FLOATS. I'm not sure if this is desirable or not, but I am almost
certain that _any_ reliance on 'mktemp' is a bad thing. NPTL seems to require it.
Any way to get out from under it? It's the _only_ reason I have to use UCLIBC_SUSV3_LEGACY
for uClibc.
---------- start patch ----------
Index: uClibc-nptl/libc/stdlib/Makefile.in
===================================================================
--- uClibc-nptl/libc/stdlib/Makefile.in (revision 26031)
+++ uClibc-nptl/libc/stdlib/Makefile.in (working copy)
@@ -31,10 +31,14 @@
ifeq ($(UCLIBC_HAS_FLOATS),y)
CSRC += drand48.c drand48_r.c erand48.c erand48_r.c
ifeq ($(UCLIBC_SUSV3_LEGACY),y)
-CSRC += gcvt.c mktemp.c
+CSRC += gcvt.c
endif
endif
+ifeq ($(UCLIBC_SUSV3_LEGACY),y)
+CSRC += mktemp.c
+endif
+
# multi source stdlib.c
CSRC += abs.c labs.c atoi.c atol.c strtol.c strtoul.c _stdlib_strto_l.c \
qsort.c bsearch.c \
---------- end patch ------------
--
http://www.fastmail.fm - Access all of your messages and folders
wherever you are
More information about the uClibc
mailing list