about summary refs log tree commit diff
path: root/nptl/sysdeps/unix
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-17 09:35:36 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-17 09:35:36 -0700
commitb2e1c562728699642e98c528bed175929cceff4d (patch)
treecf4d64dc3600a1da1f4d32697ddf494c7d81d0d0 /nptl/sysdeps/unix
parentc75ccd4c3a84993ea392f23f2cf75f7274e22cc1 (diff)
downloadglibc-b2e1c562728699642e98c528bed175929cceff4d.tar.gz
glibc-b2e1c562728699642e98c528bed175929cceff4d.tar.xz
glibc-b2e1c562728699642e98c528bed175929cceff4d.zip
Make libio compile without _IO_MTSAFE_IO.
Diffstat (limited to 'nptl/sysdeps/unix')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/Makefile b/nptl/sysdeps/unix/sysv/linux/Makefile
index 64a3f4f0d0..d24a9bc7a2 100644
--- a/nptl/sysdeps/unix/sysv/linux/Makefile
+++ b/nptl/sysdeps/unix/sysv/linux/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 2002,2003,2004,2005,2006,2007 Free Software Foundation, Inc.
+# Copyright (C) 2002-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 # Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -29,7 +29,7 @@ gen-as-const-headers += lowlevelcond.sym lowlevelrwlock.sym \
 endif
 
 ifeq ($(subdir),posix)
-CFLAGS-fork.c = -D_IO_MTSAFE_IO
+CFLAGS-fork.c = $(libio-mtsafe)
 CFLAGS-getpid.o = -fomit-frame-pointer
 CFLAGS-getpid.os = -fomit-frame-pointer
 endif