On 11/10/20 3:53 AM, Florian Weimer wrote:
* Tom Stellard:
> On 11/9/20 1:48 PM, Florian Weimer wrote:
>> * Miro Hrončok:
>>
>>> On 11/9/20 7:05 PM, Tom Stellard wrote:
>>>> Thanks for clarifying. So it does sound like gcc will need at
>>>> dependency on make. If you do decide to use a weak dependency for this,
>>>> then I think I will need to update the proposal to BuildRequire:
>>>> make when gcc is used, so that we don't cause a performance
>>>> regression in the builds.
>>>
>>> Well, we can add:
>>>
>>> Requires: (make if redhat-rpm-config)
>>>
>>> To gcc.
>> Or
>> Requires: (make if gcc)
>> to redhat-rpm-config. Given that the requirement actually comes
>> from
>> the -flto usage in redhat-rpm-config, that seems more reasonable to me.
>>
>
> This make sense, but does this work if redhat-rpm-config and gcc are
> installed in separate transactions?
We already use
Requires: (annobin if gcc)
and that doesn't seem to cause any problems.
Ok, I've update the proposal to include this change.
-Tom
Thanks,
Florian