From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 01 May 2021 00:31:58 +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 1lcbfy-0005qq-53 for lore@lore.pengutronix.de; Sat, 01 May 2021 00:31:58 +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 1lcbfx-000510-Th; Sat, 01 May 2021 00:31:57 +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 1lcbf8-0004cA-Tn for ptxdist@pengutronix.de; Sat, 01 May 2021 00:31:06 +0200 From: Lucas Stach To: ptxdist@pengutronix.de Date: Sat, 1 May 2021 00:31:05 +0200 Message-Id: <20210430223106.2472-3-l.stach@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210430223106.2472-1-l.stach@pengutronix.de> References: <20210430223106.2472-1-l.stach@pengutronix.de> MIME-Version: 1.0 Subject: [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 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 gc11. 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