buildflags.md: Document build_cc, build_cxx, build_cpp

This commit is contained in:
Florian Weimer 2021-11-15 15:34:32 +01:00
parent a9123ea1ac
commit 4a0c38832e
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,9 @@ are not overwritten.)
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
`CFLAGS` variable). Also historically available as `%{optflags}`.
Furthermore, at the start of the `%build` section, the environment