diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-02-07 19:07:39 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-02-07 19:07:39 +0000 |
commit | 917e27b827508ea4d184d17f098f777bc918ebbd (patch) | |
tree | 728defedb4c4d4071dd5262941c2d6856119e91b /stdlib/Makefile | |
parent | 054d2bf7cc2fdc42ae29fae933fe30e0f121c308 (diff) | |
download | glibc-917e27b827508ea4d184d17f098f777bc918ebbd.zip glibc-917e27b827508ea4d184d17f098f777bc918ebbd.tar.gz glibc-917e27b827508ea4d184d17f098f777bc918ebbd.tar.bz2 |
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 <gjury@grips.com>.
Diffstat (limited to 'stdlib/Makefile')
-rw-r--r-- | stdlib/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile index f875087..61c35eb 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 |