Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
Commit Message
Andre Muezerie
Jan. 14, 2025, 2:32 a.m. UTC
This path is known to make use of VLAs, so we need to disable warnings
issued for VLAs to prevent the build from breaking.
Signed-off-by: Andre Muezerie <andremue@linux.microsoft.com>
---
app/test-bbdev/meson.build | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/app/test-bbdev/meson.build b/app/test-bbdev/meson.build index 926e0a5271..18f8b1f526 100644 --- a/app/test-bbdev/meson.build +++ b/app/test-bbdev/meson.build @@ -26,3 +26,11 @@ endif if dpdk_conf.has('RTE_BASEBAND_LA12XX') deps += ['baseband_la12xx'] endif + +extra_flags = ['-Wno-vla'] + +foreach arg: extra_flags + if cc.has_argument(arg) + cflags += arg + endif +endforeach