aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/thunderx/base/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/thunderx/base/meson.build')
-rw-r--r--drivers/net/thunderx/base/meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/thunderx/base/meson.build b/drivers/net/thunderx/base/meson.build
index c9d5a8f4..bf4e8608 100644
--- a/drivers/net/thunderx/base/meson.build
+++ b/drivers/net/thunderx/base/meson.build
@@ -7,8 +7,12 @@ sources = [
'nicvf_bsvf.c'
]
+c_args = cflags
+if allow_experimental_apis
+ c_args += '-DALLOW_EXPERIMENTAL_API'
+endif
base_lib = static_library('nicvf_base', sources,
- c_args: cflags,
+ c_args: c_args,
dependencies: static_rte_ethdev
)