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