From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 27 May 2021 08:46:24 +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 1lm9mi-0002lq-5O for lore@lore.pengutronix.de; Thu, 27 May 2021 08:46:24 +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 1lm9mh-0006N5-J3; Thu, 27 May 2021 08:46:23 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lm9ll-0005lL-Cq; Thu, 27 May 2021 08:45:25 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lm9lk-0006Tv-TY; Thu, 27 May 2021 08:45:24 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lm9lk-00Gwov-Ss; Thu, 27 May 2021 08:45:24 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Thu, 27 May 2021 08:45:24 +0200 Message-Id: <20210527064524.4039310-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210503103743.31995-3-l.stach@pengutronix.de> References: <20210503103743.31995-3-l.stach@pengutronix.de> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] 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: Lucas Stach 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 Thanks, applied as 893418f41b8ef946f7913a225ec99a389e32379f. Michael [sent from post-receive hook] On Thu, 27 May 2021 08:45:24 +0200, Lucas Stach 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 > Message-Id: <20210503103743.31995-3-l.stach@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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