1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018-2021 Intel Corporation
27 '-Wno-unused-but-set-variable',
28 '-Wno-unused-variable',
29 '-Wno-unused-parameter',
33 if (toolchain == 'gcc' and cc.version().version_compare('>=11.0.0'))
34 error_cflags += ['-Wno-array-bounds']
37 if is_windows and cc.get_id() != 'clang'
38 cflags += ['-fno-asynchronous-unwind-tables']
43 foreach flag: error_cflags
44 if cc.has_argument(flag)
49 base_lib = static_library('ice_base', sources,
50 dependencies: static_rte_eal,
52 base_objs = base_lib.extract_all_objects(recursive: true)