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