From b1b7e93272cd4a73435a01252bfdf7fc26fe4fa3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 19 Oct 2004 05:12:59 +0000 Subject: [BZ #406] 2004-10-18 Roland McGrath [BZ #406] * Makefile (linuxthreads-CPPFLAGS): New variable; adds -DIS_IN_linuxthreads=1. * sysdeps/i386/tls.h: Protect "useldt.h" with [!IS_IN_linuxthreads && !DO_MODIFY_LDT]. * sysdeps/i386/i686/pt-machine.h: Revert last change. --- linuxthreads/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linuxthreads/Makefile') diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile index a16ae8d2da..a6689bb4a0 100644 --- a/linuxthreads/Makefile +++ b/linuxthreads/Makefile @@ -65,6 +65,8 @@ libpthread-static-only-routines = pthread_atfork libpthread-nonshared = pthread_atfork +linuxthreads-CPPFLAGS = -DIS_IN_linuxthreads=1 + CFLAGS-pthread_atfork.c = -DNOT_IN_libc nodelete-yes = -Wl,--enable-new-dtags,-z,nodelete -- cgit v1.2.3