net/i40e: use -Wno-error=format-security for meson
authorLuca Boccassi <bluca@debian.org>
Mon, 17 Sep 2018 09:01:26 +0000 (10:01 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 17 Sep 2018 10:18:13 +0000 (12:18 +0200)
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 <bluca@debian.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/net/i40e/base/meson.build

index 401a147..e6163ea 100644 (file)
@@ -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