From nobody Sun Feb 8 14:12:03 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1617879523; cv=none; d=zohomail.com; s=zohoarc; b=EaI12CpI0Tdl/GbIYHqjVCpAibfKIzQ70fY3Px8JjrGVfJWuW3UZjg08z08eMG4w04wc8imRpuNco1zgzqG7hduosU9tusjf2HVggh79O/G61w5tiBja4XcgMf2UDnTa1+RYpCkQcmDT+VJZuapVhfsDar8ASThr9uKkUSTd2o8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617879523; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Zrs1NYyGu0nKaLWHXoluMxsWMfV//JSAgUT2ovEIaWg=; b=EROIgkJ/gI0y0YODIURQo7GvIdaiJBMwvLnr0GP+kW25/ipOOU70/31u/7mpXY9FaZyn20NzLY+aUe8zWM/SstoKR89dIDZ/nJiYzzEAvAW7K/i9gUYKAj6Wov01V4N85xnn6wT55boY+cjNDbh1FEbzbeP8OR43uw/SJ3UYJ7Q= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1617879523824868.8995403631067; Thu, 8 Apr 2021 03:58:43 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-597-eyKxt-hsM8Cp76P_EPknGw-1; Thu, 08 Apr 2021 06:58:40 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E94D091272; Thu, 8 Apr 2021 10:58:34 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C2B305D9CC; Thu, 8 Apr 2021 10:58:34 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 841F655348; Thu, 8 Apr 2021 10:58:34 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 138AwUPO006218 for ; Thu, 8 Apr 2021 06:58:30 -0400 Received: by smtp.corp.redhat.com (Postfix) id B2CBE10016FD; Thu, 8 Apr 2021 10:58:30 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-115-81.ams2.redhat.com [10.36.115.81]) by smtp.corp.redhat.com (Postfix) with ESMTP id DBE4D10013D7; Thu, 8 Apr 2021 10:58:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617879522; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Zrs1NYyGu0nKaLWHXoluMxsWMfV//JSAgUT2ovEIaWg=; b=bSfyYUR/aGR2R6hULKPzVp8g83WT2iCrzGnH4k9spmV2ZzbOfxeFD55pdsub9vi74Y8NY/ ZAXZvOIenFEvKtJpQh5qwvB/HyJek2E5epe3UfxuLE5XgEQF/Ul7YqPUKSzTXqa7jGTF1M uqdF97xMB8uUX6GDGYvujKOvPhBU8Dc= X-MC-Unique: eyKxt-hsM8Cp76P_EPknGw-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 2/6] meson: actually check for -Wframe-larger-than Date: Thu, 8 Apr 2021 11:58:19 +0100 Message-Id: <20210408105823.462584-3-berrange@redhat.com> In-Reply-To: <20210408105823.462584-1-berrange@redhat.com> References: <20210408105823.462584-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) All other warning flags are checked for compiler support, so we shouldn't blindly assume this one always exists. Signed-off-by: Daniel P. Berrang=C3=A9 --- meson.build | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 7565eace17..97d9c52165 100644 --- a/meson.build +++ b/meson.build @@ -499,10 +499,12 @@ if cc.has_argument('-Wsuggest-attribute=3Dformat') endif =20 # used in tests -cc_flags_relaxed_frame_limit =3D [ +cc_flags_relaxed_frame_limit =3D [] +if cc.has_argument('-Wframe-larger-than=3D262144') + cc_flags_relaxed_frame_limit +=3D [ '-Wframe-larger-than=3D262144', -] - + ] +endif =20 # various linker checks =20 --=20 2.30.2