1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
13 error_cflags = ['-Wno-unused-parameter', '-Wno-unused-value',
14 '-Wno-strict-aliasing', '-Wno-format-extra-args',
15 '-Wno-unused-variable', '-Wno-missing-field-initializers'
18 if allow_experimental_apis
19 c_args += '-DALLOW_EXPERIMENTAL_API'
21 foreach flag: error_cflags
22 if cc.has_argument(flag)
27 base_lib = static_library('fm10k_base', sources,
28 dependencies: static_rte_eal,
30 base_objs = base_lib.extract_all_objects()