From ced53079bb44bb9ff553836cd0d2f76ab3084241 Mon Sep 17 00:00:00 2001
From: Russ Allbery
Date: Sat, 3 Jul 2010 12:21:39 -0700
Subject: [PATCH] Remove obsolete -D_REENTRANT requirement, ask for thread
support
Remove the obsolete requirement that libraries be built with
-D_REENTRANT, as this no longer does anything significant in current
versions of glibc. Instead, state directly that libraries should be
built with threading support and to be thread-safe if this is
supported.
---
policy.sgml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/policy.sgml b/policy.sgml
index bad28af..1ffe148 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -7225,10 +7225,10 @@ INSTALL = install -s # (or use strip on the files in debian/tmp)
for C files) will need to be compiled twice, for the normal
case.
+
- You must specify the gcc option -D_REENTRANT
- when building a library (either static or shared) to make
- the library compatible with LinuxThreads.
+ Libraries should be built with threading support and to be
+ thread-safe if the library supports this.
--
2.39.5