summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/base/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgbe/base/meson.build')
-rw-r--r--drivers/net/ixgbe/base/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/base/meson.build b/drivers/net/ixgbe/base/meson.build
index 3147e110..21ac64bf 100644
--- a/drivers/net/ixgbe/base/meson.build
+++ b/drivers/net/ixgbe/base/meson.build
@@ -20,6 +20,9 @@ sources = [
error_cflags = ['-Wno-unused-value',
'-Wno-unused-but-set-variable']
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