On Tue, Oct 19, 2021 at 12:02:08PM +0200, Florian Weimer wrote: > * Matthew Miller: > > It looks like %build_cflags is (literally defined as) %optflags, but I'm > > missing the latter. Is this documented in the packaging guidelines? > Documentation is in /usr/share/doc/redhat-rpm-config/buildflags.md. Awesome. It seems to me that If your package does not use autoconf, you can still set the same environment variables using %set_build_flags early in the `%build` section. (Again, existing environment variables are not overwritten.) and some of the surrounding text should be in the Packaging Guidelines. I'll make a PR! -- Matthew Miller <mattdm@xxxxxxxxxxxxxxxxx> Fedora Project Leader _______________________________________________ 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 on the list, report it: https://pagure.io/fedora-infrastructure