From 1218c09543a4a231130f2a84a57d1364a2f8914b Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Fri, 13 Feb 2004 01:03:48 +0000 Subject: Oops.. The custom stream funcs should only be compiled if wanted. --- libc/stdio/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libc/stdio/Makefile') diff --git a/libc/stdio/Makefile b/libc/stdio/Makefile index 59e80a359..59bccc148 100644 --- a/libc/stdio/Makefile +++ b/libc/stdio/Makefile @@ -43,7 +43,7 @@ CSRC = fclose.c fcloseall.c fdopen.c fgetpos.c fopen.c freopen.c \ # Implementation support functions CSRC += _READ.c _WRITE.c _adjust_pos.c _fopen.c _fwrite.c \ _rfill.c _stdio.c _trans2r.c _trans2w.c _wcommit.c \ - _load_inttype.c _store_inttype.c _uintmaxtostr.c + _cs_funcs.c _load_inttype.c _store_inttype.c _uintmaxtostr.c ifeq ($(strip $(UCLIBC_HAS_FLOATS)),y) CSRC += _fpmaxtostr.c endif @@ -53,7 +53,9 @@ CSRC += __fbufsize.c __flbf.c __fpending.c __fpurge.c __freadable.c \ __freading.c __fsetlocking.c __fwritable.c __fwriting.c _flushlbf.c # Other glibc extensions -CSRC += fopencookie.c fmemopen.c open_memstream.c _cs_funcs.c +ifeq ($(strip $(UCLIBC_HAS_GLIBC_CUSTOM_STREAMS)),y) +CSRC += fopencookie.c fmemopen.c open_memstream.c +endif # pthread functions ifeq ($(strip $(UCLIBC_HAS_THREADS)),y) -- cgit v1.2.3