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.
Thanks,
Florian
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org