From: Luca Boccassi Date: Mon, 17 Sep 2018 09:01:26 +0000 (+0100) Subject: net/i40e: use -Wno-error=format-security for meson X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=60bd13a29671cda0f48ed154c6a95f7f21f83326;p=dpdk.git net/i40e: use -Wno-error=format-security for meson 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 --- 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