On 06/05/2020 03:42 AM, Vitaly Zaitsev via devel wrote:
> On 04.06.2020 22:30, Ben Cotton wrote:
>> Fedora has historically forced packages to build with GCC unless the
>> upstream project for the package only supported Clang/LLVM.  This
>> change proposal replaces that policy with one where compiler selection
>> for Fedora follows the package's upstream preferences.
> 
> +1 for this change.
> 
> Also RHBZ#1559007 need to be fixed as well. I'm very tired of patching
> Fedora build flags in order to remove unsupported by Clang options.
> 

redhat-rpm-config-160-1.fc33 has a %toolchain_clang macro that you can put
in your spec file that will only add clang supported CC flags.

-Tom
_______________________________________________
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