From c75ccd4c3a84993ea392f23f2cf75f7274e22cc1 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 17 Aug 2012 09:35:15 -0700 Subject: Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO. --- Makeconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makeconfig') diff --git a/Makeconfig b/Makeconfig index 10df8eeb93..57f35f957f 100644 --- a/Makeconfig +++ b/Makeconfig @@ -1005,6 +1005,13 @@ endif sysd-rules-targets := $(sort $(foreach p,$(sysd-rules-patterns),\ $(firstword $(subst :, ,$p)))) +# A sysdeps Makeconfig fragment may set libc-reentrant to yes. +ifeq (yes,$(libc-reentrant)) +defines += -D_LIBC_REENTRANT + +libio-mtsafe = -D_IO_MTSAFE_IO +endif + endif # Makeconfig not yet included # Local Variables: -- cgit v1.2.3