buildflags.md: Document build_cc, build_cxx, build_cpp
This commit is contained in:
parent
a9123ea1ac
commit
4a0c38832e
@ -29,6 +29,9 @@ are not overwritten.)
|
|||||||
|
|
||||||
Individual build flags are also available through RPM macros:
|
Individual build flags are also available through RPM macros:
|
||||||
|
|
||||||
|
* `%{build_cc}` for the command name of the C compiler.
|
||||||
|
* `%{build_cxx}` for the command name of the C++ compiler.
|
||||||
|
* `%{build_cpp}` for the command name of the C-compatible preprocessor.
|
||||||
* `%{build_cflags}` for the C compiler flags (also known as the
|
* `%{build_cflags}` for the C compiler flags (also known as the
|
||||||
`CFLAGS` variable). Also historically available as `%{optflags}`.
|
`CFLAGS` variable). Also historically available as `%{optflags}`.
|
||||||
Furthermore, at the start of the `%build` section, the environment
|
Furthermore, at the start of the `%build` section, the environment
|
||||||
|
Loading…
Reference in New Issue
Block a user