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: sta...@dpdk.org Signed-off-by: Luca Boccassi <bl...@debian.org> Acked-by: Bruce Richardson <bruce.richard...@intel.com> --- 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