about summary refs log tree commit diff
path: root/wcsmbs/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-17 09:35:15 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-17 09:35:15 -0700
commitc75ccd4c3a84993ea392f23f2cf75f7274e22cc1 (patch)
tree49f67c33b43674aa355a7c1931ccdbbdf2e4ce31 /wcsmbs/Makefile
parentd9195db871b11e139050dfa00e333ca8b2f7a677 (diff)
downloadglibc-c75ccd4c3a84993ea392f23f2cf75f7274e22cc1.tar.gz
glibc-c75ccd4c3a84993ea392f23f2cf75f7274e22cc1.tar.xz
glibc-c75ccd4c3a84993ea392f23f2cf75f7274e22cc1.zip
Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO.
Diffstat (limited to 'wcsmbs/Makefile')
-rw-r--r--wcsmbs/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/wcsmbs/Makefile b/wcsmbs/Makefile
index 983fd76f61..7402ec9fd6 100644
--- a/wcsmbs/Makefile
+++ b/wcsmbs/Makefile
@@ -72,9 +72,8 @@ CFLAGS-isoc99_wscanf.c += $(exceptions)
 CFLAGS-isoc99_fwscanf.c += $(exceptions)
 CFLAGS-isoc99_vwscanf.c += $(exceptions)
 CFLAGS-isoc99_vfwscanf.c += $(exceptions)
-ifneq (,$(filter %REENTRANT, $(defines)))
-CPPFLAGS += -D_IO_MTSAFE_IO
-endif
+
+CPPFLAGS += $(libio-mtsafe)
 
 # We need to find the default version of strtold_l in stdlib.
 CPPFLAGS-wcstold_l.c = -I../stdlib