net/*/base: allow experimental APIs
This functionality was missed while adding new drivers to the meson build. Fixes:bfabd06000
("net/avf: support meson build") Fixes:30d3d01683
("net/qede: add in meson build") Signed-off-by: Ilya Maximets <i.maximets@samsung.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
parent
4f1ed78ebd
commit
b9788afec5
@ -8,6 +8,9 @@ sources = [
|
||||
|
||||
error_cflags = ['-Wno-pointer-to-int-cast']
|
||||
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
|
||||
|
@ -45,6 +45,9 @@ error_cflags = [
|
||||
'-Wno-pointer-bool-conversion',
|
||||
]
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user