On 11/9/20 11:29 PM, Tom Stellard wrote:
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?
Yes.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok