From b2e1c562728699642e98c528bed175929cceff4d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 17 Aug 2012 09:35:36 -0700 Subject: Make libio compile without _IO_MTSAFE_IO. --- nptl/ChangeLog | 5 +++++ nptl/sysdeps/unix/sysv/linux/Makefile | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'nptl') diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 8a8cbb8d3d..eb84863588 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,8 +1,13 @@ +2012-08-15 Roland McGrath + +2012-08-15 Roland McGrath + 2012-08-15 Roland McGrath * Makefile (CFLAGS-flockfile.c): Use $(libio-mtsafe) instead of -D_IO_MTSAFE_IO. (CFLAGS-ftrylockfile.c, CFLAGS-funlockfile.c): Likewise. + * sysdeps/unix/sysv/linux/Makefile (CFLAGS-fork.c): Likewise. 2012-08-16 Joseph Myers 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 , 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 -- cgit 1.4.1