From 4a0c38832e4dedd8ff2b251272c431a4b5665e7b Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 15 Nov 2021 15:34:32 +0100 Subject: [PATCH] buildflags.md: Document build_cc, build_cxx, build_cpp --- buildflags.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildflags.md b/buildflags.md index 72fa621..95e6e4d 100644 --- a/buildflags.md +++ b/buildflags.md @@ -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