1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
24 error_cflags = ['-Wno-uninitialized', '-Wno-unused-parameter',
25 '-Wno-unused-variable', '-Wno-misleading-indentation',
26 '-Wno-implicit-fallthrough']
28 if allow_experimental_apis
29 c_args += '-DALLOW_EXPERIMENTAL_API'
31 foreach flag: error_cflags
32 if cc.has_argument(flag)
37 base_lib = static_library('e1000_base', sources,
38 dependencies: static_rte_eal,
40 base_objs = base_lib.extract_all_objects()