diff options
author | Roland McGrath <roland@hack.frob.com> | 2012-08-17 09:35:15 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-08-17 09:35:15 -0700 |
commit | c75ccd4c3a84993ea392f23f2cf75f7274e22cc1 (patch) | |
tree | 49f67c33b43674aa355a7c1931ccdbbdf2e4ce31 /Makeconfig | |
parent | d9195db871b11e139050dfa00e333ca8b2f7a677 (diff) | |
download | glibc-c75ccd4c3a84993ea392f23f2cf75f7274e22cc1.tar.gz glibc-c75ccd4c3a84993ea392f23f2cf75f7274e22cc1.tar.xz glibc-c75ccd4c3a84993ea392f23f2cf75f7274e22cc1.zip |
Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO.
Diffstat (limited to 'Makeconfig')
-rw-r--r-- | Makeconfig | 7 |
1 files changed, 7 insertions, 0 deletions
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: |