From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by dpdk.org (Postfix) with ESMTP id 41E3F4CA9 for ; Fri, 31 Aug 2018 12:42:07 +0200 (CEST) Received: by mail-wr1-f65.google.com with SMTP id m27-v6so10786587wrf.3 for ; Fri, 31 Aug 2018 03:42:07 -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=OF14RhXohn5FF7//KDYUa0rBLwX+Bd2AtmGxTLfT7sY=; b=EQtVwxVYao9QP6XEBgBm/tMlONiAzFk8oF0+NqzGVG819bw5/TsdYnzFIgdBn48ct+ BDx2ZyJ+lqzd2LOoDwKJ/QSgXDGXkbk2d7b6eYeT6VTBtOZCG27smFPZ5WDtYt5j1Mi9 KloNdL1GTEJhHv9c2xkCuQfAuKBxHF1W33/c+VcW36Z5O466DirHIsNiEoZf1FWa29tb 4BVNfhyB/ax9mp52oiI6wUXRE5rMFoz1SBiCeWrvqpwneZ9Oav683Oo1glt8Q6UdmJSC 3UtMC6tkyx9E1J3rZOOZLbKMzGK5xsVec2VHI5BaKmaUwVzYwdV/c5+2fXaMJ5uw3aI4 Hf+A== X-Gm-Message-State: APzg51BtpOu2MBgCRUHI95ODpG9QsvBdq14bZc+6KAZSDU1mJWJTEae6 K9RERXEsbwzVmQ0zBn2MdUClcP5I X-Google-Smtp-Source: ANB0Vda3gZuVqRSFiZ7zTQ5x1+bnfWWsNZJqklDThrv+8BSHit4TzEIchyaDmy0/4mAoFBylcDHYDg== X-Received: by 2002:a5d:51cf:: with SMTP id n15-v6mr11007906wrv.107.1535712126671; Fri, 31 Aug 2018 03:42:06 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id w4-v6sm9623447wro.24.2018.08.31.03.42.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 31 Aug 2018 03:42:05 -0700 (PDT) From: Luca Boccassi To: dev@dpdk.org Cc: bruce.richardson@intel.com Date: Fri, 31 Aug 2018 11:41:53 +0100 Message-Id: <20180831104154.20938-3-bluca@debian.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180831104154.20938-1-bluca@debian.org> References: <20180831092029.4887-1-bluca@debian.org> <20180831104154.20938-1-bluca@debian.org> Subject: [dpdk-dev] [PATCH v2 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: Fri, 31 Aug 2018 10:42:07 -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") Signed-off-by: Luca Boccassi --- v2: re-arranged flags 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