summaryrefslogtreecommitdiffstats
path: root/drivers/net/fm10k/base/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/fm10k/base/meson.build')
-rw-r--r--drivers/net/fm10k/base/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/fm10k/base/meson.build b/drivers/net/fm10k/base/meson.build
index a8fc5fa8..5525cdc8 100644
--- a/drivers/net/fm10k/base/meson.build
+++ b/drivers/net/fm10k/base/meson.build
@@ -15,6 +15,9 @@ error_cflags = ['-Wno-unused-parameter', '-Wno-unused-value',
'-Wno-unused-variable', '-Wno-missing-field-initializers'
]
c_args = cflags
+if allow_experimental_apis
+ c_args += '-DALLOW_EXPERIMENTAL_API'
+endif
foreach flag: error_cflags
if cc.has_argument(flag)
c_args += flag