mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Lucas Stach <l.stach@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] host-nss: disable array-parameter warning
Date: Thu, 27 May 2021 08:45:24 +0200	[thread overview]
Message-ID: <20210527064524.4039310-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20210503103743.31995-3-l.stach@pengutronix.de>

Thanks, applied as 893418f41b8ef946f7913a225ec99a389e32379f.

Michael

[sent from post-receive hook]

On Thu, 27 May 2021 08:45:24 +0200, Lucas Stach <l.stach@pengutronix.de> wrote:
> This breaks the build with gcc11. For now go the same route as Fedora
> and just disable the warning.
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> Message-Id: <20210503103743.31995-3-l.stach@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/host-nss.make b/rules/host-nss.make
> index f51d4e0f531f..b2fb2bd3ec81 100644
> --- a/rules/host-nss.make
> +++ b/rules/host-nss.make
> @@ -28,9 +28,10 @@ HOST_NSS_MAKE_ENV   := \
>  	NSPR_INCLUDE_DIR=$(PTXDIST_SYSROOT_HOST)/include/nspr \
>  	$(if $(filter x86_64%,$(GNU_HOST)),USE_64=1)
>  
> -# needed for old glibc
> +# needed for old glibc and gcc11
>  HOST_NSS_CFLAGS := \
> -	-D_XOPEN_SOURCE
> +	-D_XOPEN_SOURCE \
> +	-Wno-array-parameter
>  
>  HOST_NSS_MAKE_OPT := \
>  	all

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


  reply	other threads:[~2021-05-27  6:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-03 10:37 [ptxdist] [PATCH v2 1/5] dtc: fix build with GCC11 Lucas Stach
2021-05-03 10:37 ` [ptxdist] [PATCH v2 2/5] nspr: version bump 4.26 -> 4.30 Lucas Stach
2021-05-27  6:45   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-05-03 10:37 ` [ptxdist] [PATCH v2 3/5] host-nss: disable array-parameter warning Lucas Stach
2021-05-27  6:45   ` Michael Olbrich [this message]
2021-05-03 10:37 ` [ptxdist] [PATCH v2 4/5] host-fakeroot: version bump 1.25.1 -> 1.25.3 Lucas Stach
2021-05-27  6:45   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-05-03 10:37 ` [ptxdist] [PATCH v2 5/5] qt5: fix build with GCC11 Lucas Stach
2021-05-27  6:45   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-05-27  6:45 ` [ptxdist] [APPLIED] dtc: " Michael Olbrich

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=20210527064524.4039310-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=l.stach@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox