-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Fri, 2020-06-05 at 08:07 -0700, Tom Stellard wrote: > 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.
It is slightly different, you need to use `%global toolchain clang`, but otherwise yes. > -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 - -- Igor Raits <ignatenkobr...@fedoraproject.org> -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcwgJ58gsbV5f5dMcEV1auJxcHh4FAl7aZacACgkQEV1auJxc Hh5vmg/9Frgul4qmIBy9kbYd57y76gZT+KLYyDAv9ozyd7KIzt7n1KO15ME+2kd5 10+66uO7zBiPDPp6qOdSUdJNvTNgNZFr7HBVYVpWmxBVbgKQhEgLpfverWo7BTx7 vAQnvPj3tB6WStNT3bzb0Z4cqogyF3+J61xY93PxJED5hwVfKjDdRyMI8EmyygxF 6U8EmXB2Sjiis7RJtTx6EzSIDfWlErnIeK0BRJNlaGJwrYKnl09XyWGCN9FAuedL rloUG1ofHZ4Dx1bF3CXbJd/J1DiSfamratuLYV5b1ahLfBCFGnSL67gT4/pFs8Dp hDOUmyRf7sUEkHEUPSDmVWDnDGN05u8WDcDy/47RlWh4d7SVD7p2vV9KqZvoNGbv CZ0P5s8fnhEo5or1nZYpAhou4TBoWg1B3e62SbWWvaFxL/XZhRLqihj+5IdG1V7J WMJUZxxVum9TjLUdMEsV/f526D5+RY8Fr6KV7jiA1j9SDyO7Q7yoDRkQZxp8B/Lz ryrlhjeEPUfz5FpHhGkOiI5Y6+QoVXAkEkPtDsG2KsUImmL9aA+zAUn7TRDeYtcW Qxr/jWN6mTpB4nsmTwP3/c98q3lIu3zQapcAZX/kkfZVyF3LHHB7zjgr7ECd6uOj 2VCdjGpMj9rkdhmP4HKnfqgRxxoiBKIwziTgZXJyppmkss+/3kc= =NfxN -----END PGP SIGNATURE----- _______________________________________________ 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