On Friday, 07 June 2019 at 11:01, José Abílio Matos wrote:
> On Friday, 7 June 2019 09.50.08 WEST Florian Weimer wrote:
> > There are publicly available builds of GCC 8 for CentOS:
> > 
> >   <http://mirror.centos.org/centos/7/sclo/x86_64/rh/devtoolset-8/>
> > 
> > It still uses the old C++ ABI.  <regex> and many other things will work,
> > though.
> > 
> > Thanks,
> > Florian
> 
> Can we use those packages as BR (build requirements) when building for epel-7?
> 
> That is my main concern. I would like to make lyx-2.4 available also for 
> epel-7.

Yes. Please check the mkvtoolnix package, for example. In short:

BuildRequires: devtoolset-7-gcc-c++
...
%build
. /opt/rh/devtoolset-7/enable

Should be enough. I haven't tried devtoolset-8 yet. I'll try it when I
do the next mkvtoolnix update.

Regards,
Dominik
-- 
Fedora   https://getfedora.org  |  RPM Fusion  http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
        -- from "Collected Sayings of Muad'Dib" by the Princess Irulan
_______________________________________________
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org

Reply via email to