From nobody Tue Feb 10 12:58:30 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49EB4C77B7D for ; Thu, 18 May 2023 14:55:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231816AbjEROzx (ORCPT ); Thu, 18 May 2023 10:55:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231354AbjEROze (ORCPT ); Thu, 18 May 2023 10:55:34 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94627199 for ; Thu, 18 May 2023 07:55:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7558964FD9 for ; Thu, 18 May 2023 14:55:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC03DC4339B; Thu, 18 May 2023 14:55:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684421728; bh=qXNtbl8qeb3lbiMWDYS0tmfhxByKNfAQg29LsRRZRZE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rZ7KSjqr5Bc+48uYlHrhz9+TtkRPjXcPFrQEJtbfXmEtfdj7F635EDcGOMHa8bxPC uzZ0rbo836zrvvKRfuJfH+rPyBJ4GC9juS9kdWDAHRpbDPzC8Nb13fav05gcbaexnh 5hAPhWVzhPCbAFB3Aq+qhHzUu86UxYnz4+hU4A8ym8W32huzypG8OMNhheKrnjTeYo bNW8+iUwpjmEsKhHIdMZykmNQMOE4ufpyHZzWYJUp62t5jjpldJE9xrOaOkVwvteqS TsvuyeVTXws61M0zLAbZCADNCuXQnrlPX89WSGrGPMOgtcotN2HsirU/A1rLR4hB5e 6oZrOUXwl7M5w== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 2E6D4CE198D; Thu, 18 May 2023 07:55:23 -0700 (PDT) From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: gwml@vger.gnuweeb.org, kernel-team@meta.com, w@lwt.eu, =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= , Willy Tarreau , "Paul E . McKenney" Subject: [PATCH v2 nolibc 12/15] tools/nolibc: validate C89 compatibility Date: Thu, 18 May 2023 07:55:18 -0700 Message-Id: <20230518145521.3806117-12-paulmck@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <4817a4dc-69e6-4937-84d5-f2f630ff646c@paulmck-laptop> References: <4817a4dc-69e6-4937-84d5-f2f630ff646c@paulmck-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Thomas Wei=C3=9Fschuh To make sure no non-compatible changes are introduced accidentally validate the language standard when building the tests. Signed-off-by: Thomas Wei=C3=9Fschuh Signed-off-by: Willy Tarreau Signed-off-by: Paul E. McKenney --- tools/testing/selftests/nolibc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selfte= sts/nolibc/Makefile index 0cbe13809b37..423d22f353a0 100644 --- a/tools/testing/selftests/nolibc/Makefile +++ b/tools/testing/selftests/nolibc/Makefile @@ -83,7 +83,7 @@ CFLAGS_STKP_i386 =3D $(CFLAGS_STACKPROTECTOR) CFLAGS_STKP_x86_64 =3D $(CFLAGS_STACKPROTECTOR) CFLAGS_STKP_x86 =3D $(CFLAGS_STACKPROTECTOR) CFLAGS_s390 =3D -m64 -CFLAGS ?=3D -Os -fno-ident -fno-asynchronous-unwind-tables \ +CFLAGS ?=3D -Os -fno-ident -fno-asynchronous-unwind-tables -std=3Dc89 \ $(call cc-option,-fno-stack-protector) \ $(CFLAGS_STKP_$(ARCH)) $(CFLAGS_$(ARCH)) LDFLAGS :=3D -s --=20 2.40.1