I think RUNTIMETARGET is already set correctly when fortran is correctly
enabled as in:
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/gcc/gcc-runtime.inc#n45

since 2016:
https://git.openembedded.org/openembedded-core/commit/meta/recipes-devtools/gcc/gcc-runtime.inc?id=80333155db8fa53fb52898c4312daa656de89c3b

On Tue, Oct 24, 2023 at 10:34 PM Richard Purdie <
richard.pur...@linuxfoundation.org> wrote:

> On Tue, 2023-10-24 at 10:15 -0700, Khem Raj wrote:
> > On 10/24/23 4:03 AM, Richard Purdie wrote:
> > > Some recipes depend on DISTRO_FEATURES, commercial licensing or
> compiler
> > > config like fortran. Set these things so that we get wider soruce
> mirror
> > > coverage and fewer warnings.
> > >
> > > 'commercial' license usage is ok here since we're not building and then
> > > shipping any binaries or using it, only mirroring the source code.
> > >
> > > Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org>
> > > ---
> > >   config.json | 6 ++++++
> > >   1 file changed, 6 insertions(+)
> > >
> > > diff --git a/config.json b/config.json
> > > index 0c35632..61cf374 100644
> > > --- a/config.json
> > > +++ b/config.json
> > > @@ -1451,6 +1451,12 @@
> > >                   "${BUILDDIR}/../meta-openembedded/meta-initramfs",
> > >                   "${BUILDDIR}/../meta-openembedded/meta-webserver"
> > >               ],
> > > +            "extravars" : [
> > > +                "LICENSE_FLAGS_ACCEPTED = 'commercial'",
> > > +                "DISTRO_FEATURES:append = ' pam systemd usrmerge'",
> > > +                "FORTRAN:forcevariable = ',fortran'",
> > > +                "RUNTIMETARGET:append:pn-gcc-runtime = ' libquadmath'"
> >
> > I think RUNTIMETARGET should automatically be appended with libquadmath
> > if FORTRAN is set.
>
> Perhaps but that is a change to work on in OE-Core and isn't going to
> happen overnight or in previous releases.
>
> Improvements welcome there or perhaps a bug to track it at least.
>
> Cheers,
>
> Richard
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61502): https://lists.yoctoproject.org/g/yocto/message/61502
Mute This Topic: https://lists.yoctoproject.org/mt/102155468/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to