]> git.donarmstrong.com Git - debian/debian-policy.git/commitdiff
Remove obsolete -D_REENTRANT requirement, ask for thread support
authorRuss Allbery <rra@debian.org>
Sat, 3 Jul 2010 19:21:39 +0000 (12:21 -0700)
committerRuss Allbery <rra@debian.org>
Sat, 3 Jul 2010 19:21:39 +0000 (12:21 -0700)
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

index bad28af4257fb481693ce342af8a6b13fffdc4db..1ffe1484c2e0c8c070279a3719f69ffbbbf02713 100644 (file)
@@ -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. 
         </p>
+
        <p>
-         You must specify the gcc option <tt>-D_REENTRANT</tt>
-         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.
        </p>
 
         <p>