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