From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by dpdk.org (Postfix) with ESMTP id DAC1F2B9A for ; Mon, 17 Sep 2018 11:01:35 +0200 (CEST) Received: by mail-wr1-f67.google.com with SMTP id e1-v6so16436016wrt.3 for ; Mon, 17 Sep 2018 02:01:35 -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=ezQ8ZrTJwQCTsZyDx6L5ZP3OezbldCIrhU4Wci5ZwkM=; b=ZNIcexBc3Dsx/EmqOwM9j3TZoZq2S97Pl8u/5dQS9cbfkFg2wFUhgpXPddFB4B8jaJ 52JsXe4VW6Mc8P5NB036jrzT2+6y1DRy+HGKYSSXG0OJCChO7wMizcCWyzTnt/EtWuKm AXd0m9DfmzQ7cu6/ApkY1jhc8hlju6yyAYMM5vouPRNx8xhXWk4VbwzkaiipkDlBHnFH 5s91POv4JatY4BbTRWd1SWuIoraZQ+zr8sKQ+z98Dot9JhXrftPu+bgmCn6HY3yW6/js Dqj5p2Xg5Z1L28c4JLPpe/21Vy1oGELgrpLNTQDEzY3DqbaEDQ2GiQDqRTtUd96/uxxE lkRg== X-Gm-Message-State: APzg51CItsw2CW8xfITQrgCUp/+CcizTLiT54X54xgztDtEhTCs54mFu 9/Tll+uh27MhTvmifq33BJ5KDs9z X-Google-Smtp-Source: ANB0VdayMicbk5MRoqW2Ce/06ycsYVcrU+LEe6MJzVfL72xWrByOcs/Peyx+CQw85hooDATvN76d6Q== X-Received: by 2002:adf:fc44:: with SMTP id e4-v6mr17994883wrs.9.1537174895225; Mon, 17 Sep 2018 02:01:35 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id f13-v6sm10111975wrt.9.2018.09.17.02.01.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 Sep 2018 02:01:34 -0700 (PDT) From: Luca Boccassi To: dev@dpdk.org Cc: bruce.richardson@intel.com Date: Mon, 17 Sep 2018 10:01:25 +0100 Message-Id: <20180917090127.10541-2-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 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: Mon, 17 Sep 2018 09:01:36 -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") 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/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