summaryrefslogtreecommitdiff
path: root/libc/stdio/Makefile
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-02-13 01:03:48 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-02-13 01:03:48 +0000
commit1218c09543a4a231130f2a84a57d1364a2f8914b (patch)
tree377602e13201c6d4f29591b5a0124d70b7867eb8 /libc/stdio/Makefile
parent3368dbc3ed56f8746c74b277c01dfcdf1e0c9c1f (diff)
Oops.. The custom stream funcs should only be compiled if wanted.
Diffstat (limited to 'libc/stdio/Makefile')
-rw-r--r--libc/stdio/Makefile6
1 files changed, 4 insertions, 2 deletions
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)