Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp527139rdg; Thu, 12 Oct 2023 12:33:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHAdBI1p42BOpMslHE94lnfCv6MdOi92ZItdfiJE7nX9Zs9lyckrR/uTbZjj1rXJsaauVKk X-Received: by 2002:a17:902:690b:b0:1c9:c97b:ebad with SMTP id j11-20020a170902690b00b001c9c97bebadmr6564084plk.34.1697139190108; Thu, 12 Oct 2023 12:33:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697139190; cv=none; d=google.com; s=arc-20160816; b=Al8A9qZqiPcf9kcEKpWIFWjBhc9GIjObNckRIxD2ODA4X+bjoJIvsIoyAgmV8tbWKN QjaJFbnxb7FTaJe717jnxGLHUiWDe+EVdPqtqBSMLXpt6bIFArvdcVDYxFgVj/lT+gXi qBAgtT5sN06gKr7T0sd1ASIlAKVnKZKrXBz88ZQZCER5AZsvt4VMu5v83Kc8LFE/I8ye TuvqM/Wpw/cIP45mRnQY6oW2s43PBaO9iKi7aU6KG0JpCfNTV0/NLPFe2eiOsERvw7dx lmMkB7O66Tx8xwWZI5YGqpMUHDIgXyAGfw8VSeBQ4vwbbjhX/BM14EjBLq6eUa2HuN8g MD7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Bo2AMrBH5ITsje1B02pDg6vcJOjmeGe1/CnhAzUiVrw=; fh=n5S/AR14tYMsjDdXEOPrR3UbxswSa5eTzDqlfcgbnjE=; b=PjYbcLy4GEwNnmZyzwIW3Uqi6183wCywJS3SrmsmU3wvGPq+aiqCZ+bvfHvxlNsV+W kD1EG0YYUIiZj/QURffnB6E4vXitJ+bGElX0OmRb3oIq16F7NN1UffFLlVFIXMPRIPdv Um2bYe4bBcxAeCXny7iV0op/UUp7tqPI4ZHijMVcSlk9jsFaoL6sLQvd6vA3iMWBrvf5 io/rQoITXYRneulo3bhuQ8OodzRoE1QlhkHwBCPPuPpc+1Os+/Y0rrx2WotMe3NogEMj ICUJYID3nQScfxGO7MdyAUryOufamXGpP9Sxd4dlo6iSzZxkjFpBxnwIDpY9dhkqrJYg uYkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Rt7pJs58; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id n11-20020a170902968b00b001b9f55d28a2si2740287plp.205.2023.10.12.12.33.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 12:33:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Rt7pJs58; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id C875281A1B81; Thu, 12 Oct 2023 12:33:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442312AbjJLTcu (ORCPT + 99 others); Thu, 12 Oct 2023 15:32:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442237AbjJLTci (ORCPT ); Thu, 12 Oct 2023 15:32:38 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A5C6BB for ; Thu, 12 Oct 2023 12:32:36 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CABD4C433CC; Thu, 12 Oct 2023 19:32:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697139155; bh=5aGC/G+byzObqQL21CGtQDnMviiKaiIj+LBFIFBDttY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Rt7pJs58qHDgY5FTWFs06oE+wyY0Hg643hOyyG5nRforSbEBl4pB0WoXkyyszzKBg eA73LVfQeXm3Q7SRaISGk4nfK3riJOzMolz/+l086d1lueHNrN8VNYFcbdftOzDHYC GBvwZ/Y/TxUN7s4GKfIJqB8CPZpJCVBirdgc4wTQLAYMKC4MJ086cfNgYebKA8rPKn rxap7r371Nyfh7o2JSNBGI6jGChppjXkToRpIqzcYQZXx4CJW5TIbbY03m8NrCTAVl QDDvCGXdGwH/IT27PyvB2duvmtg8xPVkdKxVsNK0pNZqYFWiknxU88bqPyLHNsMnjc 1+Qrdq/jbZOqA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 47E41CE0AD4; Thu, 12 Oct 2023 12:32:35 -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 Subject: [PATCH nolibc 05/19] selftests/nolibc: use -nostdinc for nolibc-test Date: Thu, 12 Oct 2023 12:32:19 -0700 Message-Id: <20231012193233.207857-5-paulmck@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, 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 agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 12 Oct 2023 12:33:04 -0700 (PDT) From: Thomas Weißschuh Avoid any accidental reliance on system includes. Signed-off-by: Thomas Weißschuh Signed-off-by: Willy Tarreau --- 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 dfe66776a331..689658f81a19 100644 --- a/tools/testing/selftests/nolibc/Makefile +++ b/tools/testing/selftests/nolibc/Makefile @@ -170,7 +170,7 @@ sysroot/$(ARCH)/include: ifneq ($(NOLIBC_SYSROOT),0) nolibc-test: nolibc-test.c sysroot/$(ARCH)/include $(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ \ - -nostdlib -static -Isysroot/$(ARCH)/include $< -lgcc + -nostdlib -nostdinc -static -Isysroot/$(ARCH)/include $< -lgcc else nolibc-test: nolibc-test.c $(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ \ -- 2.40.1