On Tue, Feb 13, 2018 at 02:27:02PM +0100, Florian Weimer wrote:
> On 02/13/2018 11:36 AM, Daniel P. Berrangé wrote:
> >redhat-rpm-config flags have usually been compatible with both gcc and
> >clang, so if there's no newer clang that supports this, it feels like
> >we've a few options
> >
> >  1. Have the RPM spec for apps using clang filter these flags out of
> >     the RPM cflags.
> >  2. Revert the change in redhat-rpm-config so we're compatible with
> >     clang
> >  3. Provide a second macro in redhat-rpm-config that is the cut down
> >     set of cflags which still work with clang, that apps can opt for.
> You forgot:
> 4. Compile the package with GCC (porting it if necessary).
> GCC is the Fedora system compiler, after all.

This package legitimately uses clang to build a clang plugin.


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to