[Rpm-maint] [rpm-software-management/rpm] Add %toolchain macro to differentiate C/C++ toolchains (#1231)
tbaederr
notifications at github.com
Tue May 19 09:31:43 UTC 2020
This is often needed when supporting builds with multiple compilers. Simply looking at `%__cc` is not enough since the actual executable might be called differently, but might still be gcc. Or clang.
Doing a substring search is also problematic since "g++" is a substring of "clang++".
So it would be nice if rpm provided a standard macro for this.
Does this make sense for RPM and does `%toolchain` sound fine? If so, I can work on the actual implementation.
It does seem like the value of `%toolchain` would have to be set for every compiler specially though.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1231
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200519/41afd1a7/attachment.html>
More information about the Rpm-maint
mailing list