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

Attachment: signature.asc
Description: PGP signature

-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to