From: Russ Allbery Date: Sat, 3 Jul 2010 19:21:39 +0000 (-0700) Subject: Remove obsolete -D_REENTRANT requirement, ask for thread support X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ced53079bb44bb9ff553836cd0d2f76ab3084241;p=debian%2Fdebian-policy.git 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. --- 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.