summaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000/base/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e1000/base/meson.build')
-rw-r--r--drivers/net/e1000/base/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/e1000/base/meson.build b/drivers/net/e1000/base/meson.build
index 5e1716de..f26f2429 100644
--- a/drivers/net/e1000/base/meson.build
+++ b/drivers/net/e1000/base/meson.build
@@ -25,6 +25,9 @@ error_cflags = ['-Wno-uninitialized', '-Wno-unused-parameter',
'-Wno-unused-variable', '-Wno-misleading-indentation',
'-Wno-implicit-fallthrough']
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