diff --git a/en_US.ISO8859-1/books/porters-handbook/book.xml b/en_US.ISO8859-1/books/porters-handbook/book.xml index 672276d0b3..367fa4f549 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.xml +++ b/en_US.ISO8859-1/books/porters-handbook/book.xml @@ -16140,8 +16140,8 @@ exec %%LOCALBASE%%/bin/java -jar %%DATADIR%%/foo.jar "$@" The threading library must be linked to the binaries using a special linker flag -pthread on &os;. If - a port insists on linking -lpthread or - -lc_r directly, patch it to use + a port insists on linking -lpthread + directly, patch it to use PTHREAD_LIBS variable provided by the ports framework. This variable usually has the value of -pthread, but on certain architectures and @@ -16153,7 +16153,7 @@ exec %%LOCALBASE%%/bin/java -jar %%DATADIR%%/foo.jar "$@" If building the port errors out with unrecognized option '-pthread' when setting PTHREAD_LIBS, it may be desirable - to use gcc as linker by setting + to use cc as linker by setting CONFIGURE_ENV to LD=${CC}. The -pthread option is not supported by