From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sun, 02 May 2021 15:15:15 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ldBwJ-00015A-7v for lore@lore.pengutronix.de; Sun, 02 May 2021 15:15:15 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ldBwI-0000FT-Un; Sun, 02 May 2021 15:15:14 +0200 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldBva-0000FL-Jo; Sun, 02 May 2021 15:14:30 +0200 Received: from rhi by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ldBva-0004Cj-BG; Sun, 02 May 2021 15:14:30 +0200 Date: Sun, 2 May 2021 15:14:30 +0200 From: Roland Hieber To: Lucas Stach Message-ID: <20210502131430.b4nmbipu7uniu5jg@pengutronix.de> References: <20210430223106.2472-1-l.stach@pengutronix.de> <20210430223106.2472-3-l.stach@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210430223106.2472-3-l.stach@pengutronix.de> User-Agent: NeoMutt/20180716 Subject: Re: [ptxdist] [PATCH 3/4] host-nss: disable array-parameter warning X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Sat, May 01, 2021 at 12:31:05AM +0200, Lucas Stach wrote: > This breaks the build with gc11. For now go the same route as Fedora Nit: s/gc11/gcc11/ - Roland > and just disable the warning. > > Signed-off-by: Lucas Stach > --- > rules/host-nss.make | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > 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 > -- > 2.29.2 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > -- Roland Hieber, Pengutronix e.K. | r.hieber@pengutronix.de | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de