1 # SPDX-License-Identifier: BSD-3-Clause
3 # Copyright(c) 2019-2020 Xilinx, Inc.
5 # This software was jointly developed between OKTET Labs (under contract
6 # for Solarflare) and Solarflare Communications, Inc.
8 if (arch_subdir != 'x86' or not dpdk_conf.get('RTE_ARCH_64')) and (arch_subdir != 'arm' or not host_machine.cpu_family().startswith('aarch64'))
10 reason = 'only supported on x86_64 and aarch64'
15 # Enable more warnings
17 '-Wdisabled-optimization'
20 # Compiler and version dependent flags
26 foreach flag: extra_flags
27 if cc.has_argument(flag)
40 includes += include_directories('base')