Dne 27. 01. 22 v 11:19 Iñaki Ucar napsal(a):
On Thu, 27 Jan 2022 at 10:58, Zbigniew Jędrzejewski-Szmek
<zbyszek(a)in.waw.pl> wrote:
>> I think this change should be reverted until a cleaner way can be
>> found to implement it.
> I'm all for making better, but please make concrete proposals.
Here's a concrete proposal:
- Copy %build_*flags to another private macro, let's say %_build_*flags.
- Add there the stuff that is not valid once the current build
finishes (e.g., the flag that this change adds).
- Use that in %set_build_flags and leave %build_*flags as it was.
That sounds similar to
"%extension_cflags/%extension_cxxflags/%extension_ldflags" Zbyszek
already mentioned elsewhere. Or I don't get the point.
Here is concrete proposal for Ruby:
https://src.fedoraproject.org/rpms/ruby/pull-request/110
Vít