From 917e27b827508ea4d184d17f098f777bc918ebbd Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 7 Feb 2001 19:07:39 +0000 Subject: Update. * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store point in FILE structure before calling _IO_init. * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and strfmon_l if necessary. Reported by Jury Gerold . --- stdlib/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'stdlib/Makefile') diff --git a/stdlib/Makefile b/stdlib/Makefile index f875087065..61c35ebf78 100644 --- a/stdlib/Makefile +++ b/stdlib/Makefile @@ -74,6 +74,13 @@ CFLAGS-bsearch.c = $(exceptions) CFLAGS-msort.c = $(exceptions) CFLAGS-qsort.c = $(exceptions) +include ../Makeconfig + +ifneq (,$(filter %REENTRANT, $(defines))) +CFLAGS-strfmon.c = -D_IO_MTSAFE_IO +CFLAGS-strfmon_l.c = -D_IO_MTSAFE_IO +endif + include ../Rules -- cgit 1.4.1