https://gitlab.synchro.net/main/sbbs/-/commit/01518263d949a76d57ccf07f
Modified Files:
src/newifc/GNUmakefile src/tith/standards/TRD-0001.txt src/xpdev/Common.gmake
Log Message:
Switch from -lpthread to -pthread
The use of -lpthread has been deprecated long enough that we should
certainly stop using it by default. Not using -pthread can cause single-threaded implementation to be used as it does not define
_REENTRANT, so C library functions that have a version optimized
for non-threaded builds will use that instead of the threaded
version.
If anyone still needs -lpthread, we can maybe hack it in, but it's
been supported by GCC since at least 3.1.1 (July 25, 2002) and has
been supported by every version of Clang ever released.
Broke the build for DaiTengu, reported via IRC.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net