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 98F534C90 for ; Fri, 31 Aug 2018 12:42:05 +0200 (CEST) Received: by mail-wr1-f68.google.com with SMTP id k5-v6so10766291wre.10 for ; Fri, 31 Aug 2018 03:42:05 -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=9udFNtb9ptxt8NK3bKIVkw3TfSU1z6f2reEPvNy/wr0=; b=tWjn6iK16xVIQosGfsK/YfymOj3P7o4vOKS96MWTME6x3AmkNIkB59/lI25Cd22WfC fUMdyIsDzT1mkuiMf0fdnlc7NtBGoQHtcAFysFNaxCCEG2jGp3Kbcad5dxwqTVJjQXll c/XjuLqRBv0M1t7q1mdIA9uWRFxxEH73gGJCk9bX/wPjis+EEENUoODK6VNs5L8xbJ+n Fb6PdAf5qiCgYlX5inLgVEeegcrVuCKduMFPTKrPF0eygZE0p0oKUCkTSFdBsLiDVPSt /tYqrxcb6yUR7YRF+JQE+Pw1ZajSyMEawQExQvYgWq2s/KERLzuMk//EHLjqQ/X1P3vE jQzA== X-Gm-Message-State: APzg51Bz39Hcd8a2aVBMV7GnPPpv7Pd6NkysTjtCOZQq5hu7ljBuGK1k TOK+ODr5o5oxZd+r5Ab12w1MUd4s X-Google-Smtp-Source: ANB0VdaUA/XxuzG1sKQRIcafTW5ZMxUoTBbLK2DbeO5lTjjMQ46v0hvIqo82qotq8KLGumOMA8iD8A== X-Received: by 2002:adf:bacf:: with SMTP id w15-v6mr11004473wrg.203.1535712124958; Fri, 31 Aug 2018 03:42:04 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id v6-v6sm9202216wro.66.2018.08.31.03.42.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 31 Aug 2018 03:42:03 -0700 (PDT) From: Luca Boccassi To: dev@dpdk.org Cc: bruce.richardson@intel.com Date: Fri, 31 Aug 2018 11:41:52 +0100 Message-Id: <20180831104154.20938-2-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 2/4] build: use -Wno-error=format-security for Meson ifpga_rawdev 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:05 -0000 This PMD is built with -Wno-format, which means GCC errors out if -Wformat-security is used. Fixes: 56bb54ea1bdf ("raw/ifpga/base: add Intel FPGA OPAE share code") Signed-off-by: Luca Boccassi --- v2: re-arranged flags drivers/raw/ifpga_rawdev/base/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/raw/ifpga_rawdev/base/meson.build b/drivers/raw/ifpga_rawdev/base/meson.build index cb6553521d..03f5112caa 100644 --- a/drivers/raw/ifpga_rawdev/base/meson.build +++ b/drivers/raw/ifpga_rawdev/base/meson.build @@ -18,8 +18,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