* 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.
Thanks,
Florian
--
Red Hat GmbH,
https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill