[PATCH v20 26/27] buildtools: add no_wvla_cflag to directories that are not VLA-free

Andre Muezerie andremue at linux.microsoft.com
Tue Feb 4 17:22:03 CET 2025


The no_wvla_cflag is added to meson.build files in directories that
are not yet VLA-free.

Signed-off-by: Andre Muezerie <andremue at linux.microsoft.com>
---
 buildtools/chkincs/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/buildtools/chkincs/meson.build b/buildtools/chkincs/meson.build
index ed65105599..49dbc55254 100644
--- a/buildtools/chkincs/meson.build
+++ b/buildtools/chkincs/meson.build
@@ -12,6 +12,7 @@ gen_c_files = generator(gen_c_file_for_header,
         arguments: ['@INPUT@', '@OUTPUT@'])
 
 cflags = machine_args
+cflags += no_wvla_cflag
 
 sources = files('main.c')
 sources += gen_c_files.process(dpdk_chkinc_headers)
-- 
2.47.2.vfs.0.1



More information about the dev mailing list