From nobody Fri Apr 3 22:35:09 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1774263364; cv=none; d=zohomail.com; s=zohoarc; b=At0oxCel45Y8OdolLj/B2m7hZLG+v1CQHJvnHza1BERRcLqpD/u+xjdsKFPBf9M4a30qAB/UgARR0JEYF4S5J2s86Q+pzeuvN0OYIFkNz86p71H/me4sEcTQUQd5Kp407798BGFvd7zmEDnG60q/zs3FIPrBAW4qeKm1IsjbeCg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1774263364; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=Xs/B4YzHpjJ5hjN0zfMVmY19I76iyWMoSRLARmh3iVg=; b=OaqLPXe4ClJ01X4cf0pcXzaQcRu8/hD3yDbNbVRq1UOQv5jQE4fCkrRP9o2k1j1oU+mytAjSgW0dwXZUk9TnqXOlJVgaC9+jJxnHa0oDpI4W43MlIZekiyEp6n47DQoUQV0nDq5XaRXGRIOYV4cYAjeaj/gVneROdMV6YSdegjg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1774263364268530.0228386693016; Mon, 23 Mar 2026 03:56:04 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w4cvf-0001rD-Os; Mon, 23 Mar 2026 06:54:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1w4cvd-0001pr-Vk for qemu-devel@nongnu.org; Mon, 23 Mar 2026 06:54:37 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w4cvb-000648-0T for qemu-devel@nongnu.org; Mon, 23 Mar 2026 06:54:37 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4852c9b4158so30388305e9.0 for ; Mon, 23 Mar 2026 03:54:34 -0700 (PDT) Received: from lanath.. (wildly.archaic.org.uk. [81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-486ff1dd9f1sm115483185e9.8.2026.03.23.03.54.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Mar 2026 03:54:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1774263273; x=1774868073; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Xs/B4YzHpjJ5hjN0zfMVmY19I76iyWMoSRLARmh3iVg=; b=NkrTub69bMqGw5LRhIHmar/3tKqCV2GTm9ObFUkLcsKEQaLKJgItecRJkhhjDv+v2E gcC+DoMVTwlG58DSgZkTgf46pgQVpUNLVPKUzuKl6RtSYmM//+djbd1qYooa65pqLPQ5 dGrepk+QNlxDBwYfFYmOkfFExW1+axtvqWp7mqcqHKBrk6QRUo0BmpUgarNulPChamRb L6Dqcy4+BFPYUWuPBVV6VdaILaWLeruz9DHA4J8cNTaupUA0PZKEcLpbTsrR1/c2ks1v BrmQXx+ubd0M0I9AZo6KBGOWNKdmwCrDoQ5tPtJSaG80GKbWTn+gnAPA5+CPjHMwmy8u o/dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774263273; x=1774868073; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Xs/B4YzHpjJ5hjN0zfMVmY19I76iyWMoSRLARmh3iVg=; b=jsjaVtlSMtGL9PSiOnlmhP2gA9g46b4ACHGlyW+JcPMYT0tEu+qiVae6m2zJLgIqr1 jt67BhQmn7eqQk9fb2/KTQPWNFXXZT2kvV0ZQWSSYTcRdAMZLhDToKKGPt9ON/XeCe0J fXP1nRruqFgMUkgEQr2RShoZIuLT/0rmGWAzk+f+ENI8xwMaWZc7k7kQAgf4FSQ0gNAn kX/o0K5gMwNOgBgEouWDhgDwO7kJtMjTc9clYT59fnoSsi70HhXTW/HkI3lBCOQ+13r5 x9BTuzawVmsfh2fXpjIUcF51rBr62xX3qf2Lm9z2Y6PETZaB3gfZehPkTNicpjz3ayuT ItvQ== X-Gm-Message-State: AOJu0YwsE7BikqIIZ90boZ2hMzu0jmYoVwUTpBZDw2VFdaa7kefYi8iH gieJov8TKw5qD+IJ+Eow8BFEv9AM/8SyVRxXWr+fRhCHqTDYKqv56IlA8uyhw/w+o+0hCUYPRad 6JX4GKOU= X-Gm-Gg: ATEYQzzvDPxOXXCYAEnSQD5stUyJHMLMwakwFo7SzwuknzI/KzUdcZGOw/PRik2zTFF abKDyjKm+phfGUZ5DSySnjyQGixRJ5CLtR0JEpl8Mou/5Ok+YBFWCdyxSUxDKgunOmPqqfVnF63 L8iqJp8lkZeSwBrjfopHjcVcckqIOhIfiP+Ss+ewTb7lcQEJCu0w4C4P9a8yiQgwF0leCS25uE9 bfz/k6CYeCaHzjo3FBQsrZE7BlYM03k52a+XC/SZ280yb/WLnnJa5SwNYfFlaRGMyXxHspnGPo2 MrgJJmvzlLmcQl6VcxrK6DMBe6KZRblnNz1L74B1ZGk3wQby8Vmc66SD2GX/LeWg2Km80fvuRFh du/rF0JmzoVqPJIhAbG8BRs7k5lqzgN9g8PmHF3fRKapaJFkvN/6/+DMZPycPEAGloHoJJFctQN uhu9nZyT8Wz3MUWJWSguHY9al3Pyc0qdk0AMLP7j0NinwobtlS20RqGvuuygd++TBDos7+07gqn pznTwdf8DOFyIdvdjkA4KVSV4VW2Mw= X-Received: by 2002:a05:600c:c173:b0:485:5981:1411 with SMTP id 5b1f17b1804b1-486fee1a26bmr148657235e9.23.1774263272773; Mon, 23 Mar 2026 03:54:32 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 02/10] configure: Remove unused variable default_cflags Date: Mon, 23 Mar 2026 10:54:21 +0000 Message-ID: <20260323105429.4059580-3-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260323105429.4059580-1-peter.maydell@linaro.org> References: <20260323105429.4059580-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1774263365478158500 configure has a variable default_cflags, which was originally added in commit bafe78ad3bc4c ("contrib/plugins: use an independent makefile") as part of it setting up the build environment for contrib/plugins, which at the time used make. However, we now build the plugins with meson, and in commit 55c84a72aba4 ("contrib/plugins: remove Makefile for contrib/plugins") we dropped the logic from configure that does that makefile setup, leaving default_cflags as an unused variable. shellcheck helpfully reports this: default_cflags=3D'-O0 -g' ^------------^ SC2034 (warning): default_cflags appears unused. Verif= y use (or export if used externally). Remove the unused variable. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-id: 20260317120215.2075164-1-peter.maydell@linaro.org --- configure | 2 -- 1 file changed, 2 deletions(-) diff --git a/configure b/configure index cd1dadd8bb..42c45fe47a 100755 --- a/configure +++ b/configure @@ -248,7 +248,6 @@ for opt do esac done =20 -default_cflags=3D'-O2 -g' git_submodules_action=3D"update" docs=3D"auto" EXESUF=3D"" @@ -707,7 +706,6 @@ for opt do meson_option_parse --enable-debug-graph-lock "" meson_option_parse --enable-debug-mutex "" meson_option_add -Doptimization=3D0 - default_cflags=3D'-O0 -g' ;; --disable-tcg) tcg=3D"disabled" ;; --=20 2.43.0