1 # SPDX-License-Identifier: BSD-3-Clause
3 # Copyright (c) 2016-2018 Solarflare Communications Inc.
6 # This software was jointly developed between OKTET Labs (under contract
7 # for Solarflare) and Solarflare Communications, Inc.
9 if arch_subdir != 'x86' or not dpdk_conf.get('RTE_ARCH_64')
11 reason = 'only supported on x86_64'
14 allow_experimental_apis = true
18 # Strict-aliasing rules are violated by rte_eth_link to uint64_t casts
19 extra_flags += '-Wno-strict-aliasing'
21 # Enable more warnings
23 '-Wdisabled-optimization'
26 # Compiler and version dependent flags
32 foreach flag: extra_flags
33 if cc.has_argument(flag)
60 includes += include_directories('base')