From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id A468A2E8F for ; Mon, 17 Sep 2018 11:01:37 +0200 (CEST) Received: by mail-wr1-f68.google.com with SMTP id k5-v6so16400908wre.10 for ; Mon, 17 Sep 2018 02:01:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9E7DKbGoLv1xctcF18qEMv75hXTt2Lu+hj8O64/1gWE=; b=drA+q+3OFlo3eNLVDy31ZErtxSgl/+0fmS2q0xQK7YrtJUj8++pjJKRLofuOT5Lokx qMNJzBmoufk5WU+30dOSG307eYUo7PL9DcFWwPpmPMwh3aAYXqGm3HOIuEiEMlidvv58 Em6jToP7xg0L2KdVnhGXhwCq4bMFiSm9+vo2hCcCP1szl5ejxnO9Og8wyvFlAzzC8hpd T0NupgWilY5Ep2FLKi9cLiBhm5wC8+hXqqnqbQYwn4upcxuSSt6a+Ht5fI3J7FhLrX8J +3bfPRquefkc15JnzXXmbVvQldeEr0SVdLByOCyHGExq1bbVoiu7bLL9vfockW7PxLRI Qrtg== X-Gm-Message-State: APzg51B5xkk8rm8kgHPXOqNWVGKUJNPH/ysqGkPnNx0ydHC90eNR1meJ 79h3gV3X2Ido3pxDSAojkwGdg8NQ X-Google-Smtp-Source: ANB0Vdb/kpsjTLxDolOb7F6oUaEwkGq8bf0w0q82HQUkilEMt3XNDxCVTRVe1dWhemUHrtBQClv37g== X-Received: by 2002:adf:ec85:: with SMTP id z5-v6mr18686476wrn.142.1537174896886; Mon, 17 Sep 2018 02:01:36 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id z184-v6sm9263320wmz.0.2018.09.17.02.01.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 Sep 2018 02:01:35 -0700 (PDT) From: Luca Boccassi To: dev@dpdk.org Cc: bruce.richardson@intel.com Date: Mon, 17 Sep 2018 10:01:26 +0100 Message-Id: <20180917090127.10541-3-bluca@debian.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180917090127.10541-1-bluca@debian.org> References: <20180831092029.4887-1-bluca@debian.org> <20180917090127.10541-1-bluca@debian.org> Subject: [dpdk-dev] [PATCH v3 3/4] build: use -Wno-error=format-security for Meson i40e build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2018 09:01:37 -0000 This PMD is built with -Wno-format, which means GCC errors out if -Wformat-security is used. Fixes: e940646b20fa ("drivers/net: build Intel NIC PMDs with meson") Cc: stable@dpdk.org Signed-off-by: Luca Boccassi Acked-by: Bruce Richardson --- v2: re-arranged flags v3: added acked-by and cc stable drivers/net/i40e/base/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/i40e/base/meson.build b/drivers/net/i40e/base/meson.build index 401a1477fa..e6163eaa6c 100644 --- a/drivers/net/i40e/base/meson.build +++ b/drivers/net/i40e/base/meson.build @@ -12,8 +12,8 @@ sources = [ ] error_cflags = ['-Wno-sign-compare', '-Wno-unused-value', - '-Wno-format', '-Wno-unused-but-set-variable', - '-Wno-strict-aliasing' + '-Wno-format', '-Wno-error=format-security', + '-Wno-strict-aliasing', '-Wno-unused-but-set-variable' ] c_args = cflags foreach flag: error_cflags -- 2.18.0