V Mon, Jun 02, 2025 at 09:40:55PM +0100, Aoife Moloney via devel-announce napsal(a): > The proposed macros for adding new flags are: > > %_pkg_extra_cflags > %_pkg_extra_cxxflags > %_pkg_extra_fflags > %_pkg_extra_ldflags > Does the leading underscore have any purpose? AFAIK RPM maintainer reserves it for RPM internal purposes.
> These will be added to %{build_cflags}, %{build_cxxflags},
> %{build_fflags}, and %{build_ldflags} respectively to allow packages
> to add their own flags to the default list: e.g.
>
> %build_cflags %{optflags} %{_pkg_extra_cflags}
>
[...]
> ** The
> https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/buildflags.md
> will be updated to document this macro
Please document there what "added" means. I guess appended without any attempt
for deduplication of already present options.
-- Petr
signature.asc
Description: PGP signature
-- _______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
