On 12/21/2019 02:30 PM, Tomasz Kłoczko wrote:
> 
> 
> On Sat, 21 Dec 2019 at 00:37, Neal Gompa <ngomp...@gmail.com 
> <mailto:ngomp...@gmail.com>> wrote:
> [..]
> 
>     I believe it's also used by the %cmake and %meson macros.
> 
> 
> Yep.
> Look on the output of the “rpm -E %cmake” and you will find that to switch to 
> other C and C++ compilers all what you need to do is redefine %__cc and 
> %__cxx macros,

I'm not seeing this, at least with the current rawhide build, but I
patched cmake to enable this in the latest mass rebuild that I'm doing.
I'll post numbers on how effective using __cc and __cxx are once it's
complete.

-Tom

> The same is with %configure and %meson,
> 
> In other words you can switch NOW from non-root account to other compiler 
> without execution update-alternatives from root.
> 
> In other words this proposal is pointless.
> 
> kloczek
> -- 
> -- 
> Tomasz Kłoczko | Tel: 0774 1209067 | LinkedIn: *http://lnkd.in/FXPWxH*
_______________________________________________
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

Reply via email to