acadia-newlib/newlib/libc/stdlib
Corinna Vinschen 256f1171ac newlib: Build internal strtold code only if HAVE_LONG_DOUBLE defined
Commit fbace81684
("Import correctly working strtold from David M. Gay.")
introduced two new files, strtorx.c and strtodg.c.  The functions
are only called from strtold.c.  However, while strtold.c is only
built if HAVE_LONG_DOUBLE is defined, the patch erroneously added
the two new files to GENERAL_SOURCES unconditionally.

Fix this by building both files only if HAVE_LONG_DOUBLE has been
defined.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2018-10-10 18:01:22 +02:00
..
Makefile.am newlib: Build internal strtold code only if HAVE_LONG_DOUBLE defined 2018-10-10 18:01:22 +02:00
Makefile.in newlib: Build internal strtold code only if HAVE_LONG_DOUBLE defined 2018-10-10 18:01:22 +02:00
_Exit.c
__adjust.c
__atexit.c
__call_atexit.c
__exp10.c
__ten_mu.c
a64l.c
abort.c
abs.c
aligned_alloc.c
arc4random.c
arc4random.h
arc4random_uniform.c
assert.c
atexit.c
atexit.h
atof.c
atoff.c
atoi.c
atol.c
atoll.c
btowc.c
calloc.c
chacha_private.h
cxa_atexit.c
cxa_finalize.c
div.c
drand48.c
dtoa.c
dtoastub.c
ecvtbuf.c
efgcvt.c
environ.c
envlock.c
eprintf.c
erand48.c
exit.c
gdtoa-gethex.c
gdtoa-hexnan.c
gdtoa.h
getenv.c
getenv_r.c
getopt.c
getsubopt.3
getsubopt.c
imaxabs.c
imaxdiv.c
itoa.c
jrand48.c
l64a.c
labs.c
lcong48.c
ldiv.c
ldtoa.c
llabs.c
lldiv.c
local.h
lrand48.c
malign.c
malloc.c
mallocr.c
mbctype.h
mblen.c
mblen_r.c
mbrlen.c
mbrtowc.c
mbsinit.c
mbsnrtowcs.c
mbsrtowcs.c
mbstowcs.c
mbstowcs_r.c
mbtowc.c
mbtowc_r.c
mlock.c
mprec.c
mprec.h
mrand48.c
msize.c
mstats.c
mtrim.c
nano-mallocr.c
nrand48.c
on_exit.c
on_exit_args.c
on_exit_args.h
putenv.c
putenv_r.c
quick_exit.c
rand.c
rand48.c
rand48.h
rand_r.c
random.c
realloc.c
reallocarray.c
reallocf.c
rpmatch.c
sb_charsets.c
seed48.c
setenv.c
setenv_r.c
srand48.c
std.h
stdlib.tex
strtod.c
strtodg.c
strtoimax.c
strtol.c
strtold.c
strtoll.c
strtoll_r.c
strtorx.c
strtoul.c
strtoull.c
strtoull_r.c
strtoumax.c
system.c
utoa.c
valloc.c
wcrtomb.c
wcsnrtombs.c
wcsrtombs.c
wcstod.c
wcstoimax.c
wcstol.c
wcstold.c
wcstoll.c
wcstoll_r.c
wcstombs.c
wcstombs_r.c
wcstoul.c
wcstoull.c
wcstoull_r.c
wcstoumax.c
wctob.c
wctomb.c
wctomb_r.c