svn commit: r307891 - in head/benchmarks/bonnie++: . files
Alex Dupre
ale at FreeBSD.org
Wed Nov 28 09:40:10 UTC 2012
Alexey Dokuchaev ha scritto:
> I wonder is it about time to drop this $PTHREAD_LIBS magic? It's been
> -pthread on all supported versions of FreeBSD for a while now.
Moreover, on 8.x and later there is no difference between -pthread and
-lpthread, so the original motivation of using -pthread doesn't apply
anymore:
> Change the default value of PTHREAD_LIBS to -pthread for 5.x and
> beyond. This avoids linking shared libraries with the thread library,
> which causes problems when trying to change from one thread library to
> another. Instead all binaries that link to a library that uses
> threads must themselves respect PTHREAD_LIBS.
--
Alex Dupre
More information about the svn-ports-all
mailing list