git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: disable experimental API check internally
[dpdk.git]
/
lib
/
meson.build
diff --git
a/lib/meson.build
b/lib/meson.build
index
9c3cc55
..
63c17ee
100644
(file)
--- a/
lib/meson.build
+++ b/
lib/meson.build
@@
-36,7
+36,7
@@
if is_windows
libraries = ['kvargs','eal'] # only supported libraries for windows
endif
libraries = ['kvargs','eal'] # only supported libraries for windows
endif
-default_cflags = machine_args
+default_cflags = machine_args
+ ['-DALLOW_EXPERIMENTAL_API']
if cc.has_argument('-Wno-format-truncation')
default_cflags += '-Wno-format-truncation'
endif
if cc.has_argument('-Wno-format-truncation')
default_cflags += '-Wno-format-truncation'
endif
@@
-47,7
+47,6
@@
foreach l:libraries
build = true
reason = '<unknown reason>' # set if build == false to explain why
name = l
build = true
reason = '<unknown reason>' # set if build == false to explain why
name = l
- allow_experimental_apis = false
use_function_versioning = false
sources = []
headers = []
use_function_versioning = false
sources = []
headers = []
@@
-98,9
+97,6
@@
foreach l:libraries
static_dep = shared_dep
else
static_dep = shared_dep
else
- if allow_experimental_apis
- cflags += '-DALLOW_EXPERIMENTAL_API'
- endif
if use_function_versioning
cflags += '-DRTE_USE_FUNCTION_VERSIONING'
endif
if use_function_versioning
cflags += '-DRTE_USE_FUNCTION_VERSIONING'
endif