Add c++14 lang bits and improve wording around supporting compiler features
This commit is contained in:
parent
d2b5a57dd6
commit
68466361a6
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47955
1 changed files with 9 additions and 9 deletions
|
@ -160,20 +160,20 @@
|
|||
<sect1 xml:id="uses-compiler">
|
||||
<title><literal>compiler</literal></title>
|
||||
|
||||
<para>Possible arguments: (none), <literal>c++0x</literal>,
|
||||
<para>Possible arguments: (none), <literal>c++14-lang</literal>,
|
||||
<literal>c++11-lang</literal>, <literal>gcc-c++11-lib</literal>,
|
||||
<literal>c++11-lib</literal>, <literal>c11</literal>,
|
||||
<literal>openmp</literal>, <literal>nestedfct</literal>,
|
||||
<literal>features</literal></para>
|
||||
<literal>c++11-lib</literal>, <literal>c++0x</literal>,
|
||||
<literal>c11</literal>, <literal>openmp</literal>,
|
||||
<literal>nestedfct</literal>, <literal>features</literal></para>
|
||||
|
||||
<para>Determines which compiler to use based on any given wishes.
|
||||
Use <literal>c++11-lang</literal> if the port needs a
|
||||
C++11-capable compiler, <literal>gcc-c++11-lib</literal> if the
|
||||
Use <literal>c++14-lang</literal> if the port needs a
|
||||
C++14-capable compiler, <literal>gcc-c++11-lib</literal> if the
|
||||
port needs the <command>g++</command> compiler with a C++11
|
||||
library, and <literal>c++11-lib</literal> if the port also needs
|
||||
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++0X, C11, OpenMP, or nested functions, the
|
||||
corresponding parameters can be used. Use
|
||||
understanding C++11, C++0X, C11, OpenMP, or nested functions,
|
||||
the corresponding parameters can be used. 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