A patch for stdio-common/Makefile
H.J. Lu
hjl@varesearch.com
Mon Aug 23 13:10:00 GMT 1999
Unless you use a different make, I believe this patch is needed for
glibc 2.2. I suspect you can move the whole ifeq ($(stdio),libio) block
before including ../Rules.
--
H.J. Lu (hjl@gnu.org)
--
Mon Aug 23 10:38:37 1999 H.J. Lu <hjl@gnu.org>
* stdio-common/Makefile (routines): Add vfwprintf and vfwscanf
before including ../Rules.
Index: stdio-common/Makefile
===================================================================
RCS file: /work/cvs/gnu/glibc/stdio-common/Makefile,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 Makefile
--- stdio-common/Makefile 1999/08/23 16:17:34 1.1.1.2
+++ stdio-common/Makefile 1999/08/23 17:34:09
@@ -51,6 +51,10 @@ tests := tst-printf tstscanf test_rdwr t
scanf1 scanf2 scanf3 scanf4 scanf5 scanf7 scanf8 scanf9 scanf10 \
scanf12 tst-tmpnam
+ifeq ($(stdio),libio)
+routines += vfwprintf vfwscanf
+endif
+
include ../Rules
CFLAGS-vfprintf.c = -Wno-uninitialized
@@ -65,7 +69,6 @@ $(inst_includedir)/bits/stdio_lim.h: $(c
$(do-install)
ifeq ($(stdio),libio)
-routines += vfwprintf vfwscanf
ifneq (,$(filter %REENTRANT, $(defines)))
CPPFLAGS += -D_IO_MTSAFE_IO
endif
More information about the Libc-hacker
mailing list