summaryrefslogtreecommitdiff
path: root/linuxthreads/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-10-19 05:12:59 +0000
committerRoland McGrath <roland@gnu.org>2004-10-19 05:12:59 +0000
commitb1b7e93272cd4a73435a01252bfdf7fc26fe4fa3 (patch)
tree8a14d0fed6260878b03f60b92ae93294ae8176d9 /linuxthreads/Makefile
parent5f21997b9d6a49ddbed85b044e2be7b182c095a2 (diff)
[BZ #406]
2004-10-18 Roland McGrath <roland@redhat.com> [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.
Diffstat (limited to 'linuxthreads/Makefile')
-rw-r--r--linuxthreads/Makefile2
1 files changed, 2 insertions, 0 deletions
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