All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alistair Francis" <alistair23@gmail.com>
To: Sean Nyekjaer <sean@geanix.com>
Cc: openembeded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: [oe] [meta-oe] [PATCH] gpsd: fix build on aarch64
Date: Fri, 15 May 2020 08:32:55 -0700	[thread overview]
Message-ID: <CAKmqyKNVJ6AgYnO=GCtm+4krQW_0+dS=-DLDQ9HnZh_mnxCrog@mail.gmail.com> (raw)
In-Reply-To: <20200515121436.2078760-1-sean@geanix.com>

On Fri, May 15, 2020 at 5:14 AM Sean Nyekjaer <sean@geanix.com> wrote:
>
> Explicitly add ${CC} as linker, for it to understand -Wl option.
>
> Signed-off-by: Sean Nyekjaer <sean@geanix.com>
> ---
>
> Alistair please check in your setup :)

Thanks! This fixes the build for me.

Alistair

>
>  meta-oe/recipes-navigation/gpsd/gpsd_3.20.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.20.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.20.bb
> index 0914f7ec2..5463c8231 100644
> --- a/meta-oe/recipes-navigation/gpsd/gpsd_3.20.bb
> +++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.20.bb
> @@ -35,6 +35,7 @@ EXTRA_OESCONS = " \
>      systemd='${SYSTEMD_OESCONS}' \
>      libdir='${libdir}' \
>      manbuild='false' \
> +    LINK='${CC}' \
>      ${PACKAGECONFIG_CONFARGS} \
>  "
>  # this cannot be used, because then chrpath is not found and only static lib is built
> @@ -44,6 +45,7 @@ do_compile_prepend() {
>      export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}"
>      export PKG_CONFIG="PKG_CONFIG_SYSROOT_DIR=\"${PKG_CONFIG_SYSROOT_DIR}\" pkg-config"
>      export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}"
> +    export LD="${CC}"
>      export LINKFLAGS="${LDFLAGS}"
>  }
>
> @@ -51,6 +53,7 @@ do_install() {
>      export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}"
>      export PKG_CONFIG="PKG_CONFIG_SYSROOT_DIR=\"${PKG_CONFIG_SYSROOT_DIR}\" pkg-config"
>      export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}"
> +    export LD="${CC}"
>      export LINKFLAGS="${LDFLAGS}"
>
>      export DESTDIR="${D}"
> --
> 2.26.2
>

      parent reply	other threads:[~2020-05-15 15:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15 12:14 [oe] [meta-oe] [PATCH] gpsd: fix build on aarch64 Sean Nyekjaer
2020-05-15 12:24 ` Nicolas Dechesne
2020-05-15 15:07   ` Martin Jansa
2020-05-15 15:22     ` Khem Raj
2020-05-17 14:13       ` Sean Nyekjaer
2020-05-17 18:56         ` Martin Jansa
2020-05-17 19:40           ` Khem Raj
2020-05-15 15:46     ` Adrian Bunk
2020-05-17 14:07       ` Sean Nyekjaer
2020-05-15 15:32 ` Alistair Francis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKmqyKNVJ6AgYnO=GCtm+4krQW_0+dS=-DLDQ9HnZh_mnxCrog@mail.gmail.com' \
    --to=alistair23@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=sean@geanix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.