Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp66561rwl; Thu, 6 Apr 2023 14:56:39 -0700 (PDT) X-Google-Smtp-Source: AKy350azBXlD+6xEKxwDGYQ0Fj48duxE3mvuGH1bUipBq4sZiGxe9Tpd5h4s275GfydDQutD3Pi5 X-Received: by 2002:a17:90b:1e11:b0:23e:f8e2:9ed3 with SMTP id pg17-20020a17090b1e1100b0023ef8e29ed3mr6068pjb.43.1680818198936; Thu, 06 Apr 2023 14:56:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680818198; cv=none; d=google.com; s=arc-20160816; b=A4JzKDNy4+z9wvxmNqyf47+pqMQZYbDkFyNJ1U377ofnizc6Ye26CBcMcLV14qX0Bg ZZt8zzwQAVbJ3OXcV/C+Ja+rccmj2Ong+eFw49t5RJ4PgjzFrNu6UtHrJeVb2l2lZAQ4 /nPsr1DPOM8mnuEgGCzfUPZavzx/836p7ji/lUyYqxDgVrkk51W6eR452NOPcjd9iouO +JJsZRsWsNKFYgbX8ikImfdEQZL+pmhAnfs7HZMtvLTBtn38X69rtEPzZvlJ5ZYv7j1z FsTa3qPPYADJJS/wX/uSVWk+cR4HYNp3xwV2mgVxagCFBV438eB+ogI9Gbd7uTy9ag9v HTuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:dkim-signature :from; bh=sJxhYNP0CLN88W/g3ntdjWaHRsNtngO7Eh4iVK43Xyc=; b=1KXjKj7uqy78znbPp3eWfeVDwJ2ywew6mF7KWD8QV7fPI6XOJL15T1WRYBAbHu0mWh 9YUm+V6NPMHGJ5yydYA1jGBI9HlKFciLo0OYl05VNYiv8a8pcmXqZwztID6PjqPafISj QaJc56xJrs/SJ+vHYKm6aQdP2DgoJsMsL3tl0qv8QG0A1ziirlfOk9LRNi38j34acdUt qgJ7M5pL+MSLhayH5d5paujhkxXyYR63U655ugvXmeP/26nZqawozmaBz6WBKfICVEfe WjpxCwrDuTvCoeUuP04hTfGfgW8CcON1wu26jKVt1eBW1tCvusWAdKzFjShNrGR3MsWR CZlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=LPdIVCIC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w64-20020a638243000000b0050bdca1b6eesi2187480pgd.861.2023.04.06.14.56.27; Thu, 06 Apr 2023 14:56:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=LPdIVCIC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236709AbjDFVze (ORCPT + 99 others); Thu, 6 Apr 2023 17:55:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238308AbjDFVzA (ORCPT ); Thu, 6 Apr 2023 17:55:00 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DF84AD25; Thu, 6 Apr 2023 14:54:59 -0700 (PDT) From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1680818095; bh=nDb5IgQ9K96nEIM5nhFtSNKaObd3Bs6yLtAE0MQ90Hc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=LPdIVCICDjAuwusY7LmbrPaSbZTK/TY/u3YCKNjEsKW57BDuZYkQnRPmQ+TbO5/op JYrIONDqCv7w3T7UwQtSEs2PBWMfvncntAg9sL4p9BOcdYSHcFhGoW7TyIqa8g59gO xCmGQQFJP2Vb4TKt0/gLUlmdqpFgpLQ8wsrj0wpA= Date: Thu, 06 Apr 2023 21:54:57 +0000 Subject: [PATCH v2 11/11] tools/nolibc: validate C89 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20230328-nolibc-c99-v2-11-c989f2289222@weissschuh.net> References: <20230328-nolibc-c99-v2-0-c989f2289222@weissschuh.net> In-Reply-To: <20230328-nolibc-c99-v2-0-c989f2289222@weissschuh.net> To: Willy Tarreau , Shuah Khan Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680818091; l=950; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=nDb5IgQ9K96nEIM5nhFtSNKaObd3Bs6yLtAE0MQ90Hc=; b=AAij0njayIdL5IoD/YRXn3KBPMtLUquefELUQwUPjOP+L87s/bKaSI6xndpVU9yLH1h23h4+x o/7FTm9oR7RCztrlVIbPHtbzXaQJ447rGHWynoCFACVnyUY715Kc/BS X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To make sure no non-compatible changes are introduced accidentally validate the language standard when building the tests. Signed-off-by: Thomas Weißschuh --- tools/testing/selftests/nolibc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/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 = $(CFLAGS_STACKPROTECTOR) CFLAGS_STKP_x86_64 = $(CFLAGS_STACKPROTECTOR) CFLAGS_STKP_x86 = $(CFLAGS_STACKPROTECTOR) CFLAGS_s390 = -m64 -CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables \ +CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables -std=c89 \ $(call cc-option,-fno-stack-protector) \ $(CFLAGS_STKP_$(ARCH)) $(CFLAGS_$(ARCH)) LDFLAGS := -s -- 2.40.0