The text describing compiler.mk was unclear.
Add explanatory text for c++11-lang, and remove a bogus choice. Reviewed by: mat Approved by: mat Differential Revision: D14804
This commit is contained in:
parent
d833b9b73c
commit
2ba84b3953
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51775
1 changed files with 9 additions and 4 deletions
|
@ -277,7 +277,8 @@
|
|||
<sect1 xml:id="uses-compiler">
|
||||
<title><literal>compiler</literal></title>
|
||||
|
||||
<para>Possible arguments: (none), <literal>c++14-lang</literal>,
|
||||
<para>Possible arguments: (none), <literal>env</literal>
|
||||
(default, implicit), <literal>c++14-lang</literal>,
|
||||
<literal>c++11-lang</literal>, <literal>gcc-c++11-lib</literal>,
|
||||
<literal>c++11-lib</literal>, <literal>c++0x</literal>,
|
||||
<literal>c11</literal>, <literal>openmp</literal>,
|
||||
|
@ -285,12 +286,16 @@
|
|||
|
||||
<para>Determines which compiler to use based on any given wishes.
|
||||
Use <literal>c++14-lang</literal> if the port needs a
|
||||
C++14-capable compiler, <literal>gcc-c++11-lib</literal> if the
|
||||
C++14-capable compiler, <literal>c++11-lang</literal>
|
||||
if the port needs a C++11-capable compiler,
|
||||
<literal>gcc-c++11-lib</literal> if the
|
||||
port needs the <command>g++</command> compiler with a C++11
|
||||
library, or <literal>c++11-lib</literal> if the port needs
|
||||
a C++11-ready standard library. If the port needs a compiler
|
||||
understanding C++11, C++0X, C11, OpenMP, or nested functions,
|
||||
the corresponding parameters can be used. Use
|
||||
understanding C++0X, C11, OpenMP, or nested functions,
|
||||
the corresponding parameters should be used.</para>
|
||||
|
||||
<para>Use
|
||||
<literal>features</literal> to request a list of features
|
||||
supported by the default compiler. After including
|
||||
<filename>bsd.port.pre.mk</filename> the port can inspect the
|
||||
|
|
Loading…
Reference in a new issue