[oe] [meta-networking][PATCH 1/3] squid: Link with libatomic on riscv

Khem Raj raj.khem at gmail.com
Thu Jan 30 06:14:17 UTC 2020


On Wed, Jan 29, 2020 at 9:32 PM akuster808 <akuster808 at gmail.com> wrote:
>
>
>
> On 1/28/20 1:53 PM, Khem Raj wrote:
> > Signed-off-by: Khem Raj <raj.khem at gmail.com>
>
> Is this for the same reason as for nodejs Cento7 fix ?
>

pretty much same problem, although a better fix is to detect it
during build but every build system has its own nuance.

> - armin
> > ---
> >  meta-networking/recipes-daemons/squid/squid_4.9.bb | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/meta-networking/recipes-daemons/squid/squid_4.9.bb b/meta-networking/recipes-daemons/squid/squid_4.9.bb
> > index 6f202cf401..19949acd84 100644
> > --- a/meta-networking/recipes-daemons/squid/squid_4.9.bb
> > +++ b/meta-networking/recipes-daemons/squid/squid_4.9.bb
> > @@ -40,6 +40,8 @@ inherit autotools pkgconfig useradd ptest perlnative
> >
> >  LDFLAGS_append_mipsarch = " -latomic"
> >  LDFLAGS_append_powerpc = " -latomic"
> > +LDFLAGS_append_riscv64 = " -latomic"
> > +LDFLAGS_append_riscv32 = " -latomic"
> >
> >  USERADD_PACKAGES = "${PN}"
> >  USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --shell /bin/false --user-group squid"
>


More information about the Openembedded-devel mailing list