1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Huawei Technologies Co., Ltd
19 # The driver runs only on arch64 machine, remove 32bit warnings
20 if not dpdk_conf.get('RTE_ARCH_64')
21 extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast']
24 foreach flag: extra_flags
25 if cc.has_argument(flag)
34 base_lib = static_library('hinic_base', sources,
35 dependencies: [static_rte_eal, static_rte_ethdev, static_rte_bus_pci, static_rte_hash],
37 base_objs = base_lib.extract_all_objects(recursive: true)