diff mbox series

[3/4] build: use -Wno-error=format-security for Meson i40e build

Message ID 20180831092029.4887-3-bluca@debian.org (mailing list archive)
State Superseded, archived
Headers show
Series [1/4] build: include missing hypervisor files in Meson build | expand


Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Luca Boccassi Aug. 31, 2018, 9:20 a.m. UTC
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")

Signed-off-by: Luca Boccassi <bluca@debian.org>
 drivers/net/i40e/base/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series


diff --git a/drivers/net/i40e/base/meson.build b/drivers/net/i40e/base/meson.build
index 401a1477fa..50bd4704e6 100644
--- a/drivers/net/i40e/base/meson.build
+++ b/drivers/net/i40e/base/meson.build
@@ -13,7 +13,7 @@  sources = [
 error_cflags = ['-Wno-sign-compare', '-Wno-unused-value',
 		'-Wno-format', '-Wno-unused-but-set-variable',
-		'-Wno-strict-aliasing'
+		'-Wno-strict-aliasing', '-Wno-error=format-security'
 c_args = cflags
 foreach flag: error_cflags