[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

shared libraries and _REENTRANT



Policy 10.2 says we must compile shared libraries with -D_REENTRANT:

> You must specify the gcc option -D_REENTRANT when building a library
> (either static or shared) to make the library compatible with
> LinuxThreads.  

However, LinuxThreads has been superseeded by NPTL. Is this still necessary?
Also, when a library ships a .pc file, should it include the option in its
CPPFLAGS?

-- 

  Felipe Sateler



Reply to: