From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 03 May 2021 12:38:07 +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 1ldVxn-0002q6-Gk for lore@lore.pengutronix.de; Mon, 03 May 2021 12:38:07 +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 1ldVxm-00083k-OG; Mon, 03 May 2021 12:38:06 +0200 Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ldVxP-0007nj-BD for ptxdist@pengutronix.de; Mon, 03 May 2021 12:37:43 +0200 From: Lucas Stach To: ptxdist@pengutronix.de Date: Mon, 3 May 2021 12:37:41 +0200 Message-Id: <20210503103743.31995-3-l.stach@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210503103743.31995-1-l.stach@pengutronix.de> References: <20210503103743.31995-1-l.stach@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH v2 3/5] 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 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 This breaks the build with gcc11. For now go the same route as Fedora 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