Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 2014 10:47:19 +0000 (UTC)
From:      Alex Kozlov <ak@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r45915 - head/en_US.ISO8859-1/books/porters-handbook/porting-dads
Message-ID:  <201411031047.sA3AlJ2I023956@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ak (ports committer)
Date: Mon Nov  3 10:47:18 2014
New Revision: 45915
URL: https://svnweb.freebsd.org/changeset/doc/45915

Log:
  - Remove obsolete 'Threading Libraries' paragraph
  
  Reviewed by:	mat, bcr
  Approved by:	mat (portmgr), bcr
  
  Differential Revision:	https://reviews.freebsd.org/D997

Modified:
  head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml

Modified: head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml	Mon Nov  3 09:05:31 2014	(r45914)
+++ head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml	Mon Nov  3 10:47:18 2014	(r45915)
@@ -321,25 +321,6 @@ exec %%LOCALBASE%%/bin/java -jar %%DATAD
     <programlisting>CFLAGS+= -DHAVE_SOUND</programlisting>
   </sect1>
 
-  <sect1 xml:id="dads-pthread">
-    <title>Threading Libraries</title>
-
-    <para>The threading library must be linked to the binaries using
-      a special flag <literal>-pthread</literal> on &os;.  If a port
-      insists on linking <literal>-lpthread</literal> directly, patch
-      it to use <literal>-pthread</literal>.</para>
-
-    <note>
-      <para>If building the port errors out with
-	<literal>unrecognized option '-pthread'</literal>, it may be
-	desirable to use <command>cc</command> as linker by setting
-	<varname>CONFIGURE_ENV</varname> to
-	<literal>LD=${CC}</literal>.  The <literal>-pthread</literal>
-	option is not supported by <command>ld</command>
-	directly.</para>
-    </note>
-  </sect1>
-
   <sect1 xml:id="dads-feedback">
     <title>Feedback</title>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411031047.sA3AlJ2I023956>