* Mattia Verga via devel: > Il 27/09/23 19:01, Stephen Gallagher ha scritto: >> On Wed, Sep 27, 2023 at 12:59 PM Ron Olson <tachoknight@xxxxxxxxx> wrote: >>> I mean this sincerely: Where is the excellent documentation? I admit that I’ve been frustrated that web searches leads me all over the place, sometimes the documentation is obsolete, or it’s someone’s blog post, etc. I’ve been surprised again and again there’s a macro for this or that which could have made the job much easier, but I had no idea until I asked here or in IRC. >>> >> The documentation he's referring to is the >> https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/buildflags.md >> >> Indeed, we probably should figure out a way to make that link more >> prominent on the Packaging Guidelines pages, though. > > As I recently noticed because of a package of mine started to FTB, there > are no defaults for CPPFLAGS and that env variable is not set > automatically in each specfile section. > > Is because it is useless to have some defaults set? (BTW I've fixed my > package FTB by export CPPFLAGS = CXXFLAGS as I don't have any knowledge > what to set there...) Traditionally, CPPFLAGS refer to preprocessor flags, not C++ compiler flags. (See the make manual, for example.) We don't use CPPFLAGS in our standard build environment. Thanks, Florian _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue