1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
14 error_cflags = ['-Wno-sign-compare', '-Wno-unused-value',
15 '-Wno-format', '-Wno-format-security',
16 '-Wno-format-nonliteral',
17 '-Wno-strict-aliasing', '-Wno-unused-but-set-variable',
18 '-Wno-unused-parameter',
21 if allow_experimental_apis
22 c_args += '-DALLOW_EXPERIMENTAL_API'
24 foreach flag: error_cflags
25 if cc.has_argument(flag)
30 base_lib = static_library('i40e_base', sources,
31 dependencies: static_rte_eal,
33 base_objs = base_lib.extract_all_objects()