aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-04-04 16:53:11 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-04-04 16:53:11 +0000
commitb4ce1c4c04382185d508f0b9b04769807bd1196a (patch)
tree910ee47c5a659e5a6e0b64defbf96451ce0aab2c
parent1a31517fe6d7eadf529dad3a64a75f927e9d4e16 (diff)
Notes
-rw-r--r--en_US.ISO8859-1/books/porters-handbook/book.sgml11
1 files changed, 11 insertions, 0 deletions
diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml
index 2cb134b181..ad646ece5e 100644
--- a/en_US.ISO8859-1/books/porters-handbook/book.sgml
+++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml
@@ -9529,6 +9529,17 @@ bacula:*:910:</programlisting>
different values, so do not just hardcode
<literal>-pthread</literal> into patches and always use
<makevar>PTHREAD_LIBS</makevar>.</para>
+
+ <note>
+ <para>If building the port errors out with <literal>unrecognized
+ option '-pthread'</literal> when setting
+ <makevar>PTHREAD_LIBS</makevar>, it may be desirable to use
+ <command>gcc</command> as linker by setting
+ <makevar>CONFIGURE_ENV</makevar> to <literal>LD=${CC}</literal>.
+ The <literal>-pthread</literal> option is not supported by
+ <command>ld</command> directly.</para>
+ </note>
+
</sect1>
<sect1 id="dads-freedback">