1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright (c) 2016-2018 Solarflare Communications Inc.
5 # This software was jointly developed between OKTET Labs (under contract
6 # for Solarflare) and Solarflare Communications, Inc.
59 '-Wno-unused-parameter',
60 '-Wno-unused-variable',
62 '-Wno-unused-but-set-variable'
66 if allow_experimental_apis
67 c_args += '-DALLOW_EXPERIMENTAL_API'
69 foreach flag: extra_flags
70 if cc.has_argument(flag)
76 base_lib = static_library('sfc_base', sources,
77 include_directories: includes,
78 dependencies: static_rte_eal,
81 base_objs = base_lib.extract_all_objects()